| ... | ... | @@ -71,6 +71,7 @@ const current_variant: Variant = switch (native_arch) { |
| 71 | 71 | .arm, |
| 72 | 72 | .armeb, |
| 73 | 73 | .csky, |
| 74 | .hppa, |
| 74 | 75 | .microblaze, |
| 75 | 76 | .microblazeel, |
| 76 | 77 | .sh, |
| ... | ... | @@ -144,6 +145,7 @@ const AbiTcb = switch (current_variant) { |
| 144 | 145 | .alpha, |
| 145 | 146 | .arm, |
| 146 | 147 | .armeb, |
| 148 | .hppa, |
| 147 | 149 | .microblaze, |
| 148 | 150 | .microblazeel, |
| 149 | 151 | .sh, |
| ... | ... | @@ -285,6 +287,13 @@ pub fn setThreadPointer(addr: usize) void { |
| 285 | 287 | : [addr] "r" (addr), |
| 286 | 288 | ); |
| 287 | 289 | }, |
| 290 | .hppa => { |
| 291 | asm volatile ( |
| 292 | \\ ble 0xe0(%%sr2, %%r0) |
| 293 | : |
| 294 | : [addr] "={r26}" (addr), |
| 295 | : .{ .r29 = true }); |
| 296 | }, |
| 288 | 297 | .loongarch32, .loongarch64 => { |
| 289 | 298 | asm volatile ( |
| 290 | 299 | \\ move $tp, %[addr] |