| author | |
| committer | |
| log | 834202bf985c257b2bf79df7cb804af9cb0ca422 |
| tree | 34a0d31263390ad9a853437435e547d7940212ac |
| parent | 8e1aa72c69cddc9fcd0bd8a3f9f4e9d3a8d002af |
This fixes the wrong branch target and register check.
(https://github.com/ziglang/zig/issues/9801)1 files changed, 2 insertions(+), 3 deletions(-)
lib/std/Thread.zig+2-3| ... | ... | @@ -813,12 +813,11 @@ const LinuxThreadImpl = struct { |
| 813 | 813 | \\ # force-deactivate it by running `restore` until |
| 814 | 814 | \\ # all frames are cleared. |
| 815 | 815 | \\ 1: |
| 816 | \\ cmp %%sp, 0 | |
| 816 | \\ cmp %%fp, 0 | |
| 817 | 817 | \\ beq 2f |
| 818 | 818 | \\ nop |
| 819 | \\ ba 1b | |
| 819 | 820 | \\ restore |
| 820 | \\ ba 1f | |
| 821 | \\ nop | |
| 822 | 821 | \\ 2: |
| 823 | 822 | \\ mov 73, %%g1 |
| 824 | 823 | \\ mov %[ptr], %%o0 |