mirror of
https://github.com/ziglang/zig.git
synced 2025-12-18 12:13:20 +00:00
SPARCv9: Fix freeAndExit implementation
This fixes the wrong branch target and register check. (https://github.com/ziglang/zig/issues/9801)
This commit is contained in:
parent
8e1aa72c69
commit
834202bf98
@ -813,12 +813,11 @@ const LinuxThreadImpl = struct {
|
|||||||
\\ # force-deactivate it by running `restore` until
|
\\ # force-deactivate it by running `restore` until
|
||||||
\\ # all frames are cleared.
|
\\ # all frames are cleared.
|
||||||
\\ 1:
|
\\ 1:
|
||||||
\\ cmp %%sp, 0
|
\\ cmp %%fp, 0
|
||||||
\\ beq 2f
|
\\ beq 2f
|
||||||
\\ nop
|
\\ nop
|
||||||
|
\\ ba 1b
|
||||||
\\ restore
|
\\ restore
|
||||||
\\ ba 1f
|
|
||||||
\\ nop
|
|
||||||
\\ 2:
|
\\ 2:
|
||||||
\\ mov 73, %%g1
|
\\ mov 73, %%g1
|
||||||
\\ mov %[ptr], %%o0
|
\\ mov %[ptr], %%o0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user