Commit e3840817d7

Koakuma <koachan@protonmail.com>
2021-08-03 15:14:40
Linux/SPARCv9: account for branch delay in freeAndExit()
1 parent 5c79370
Changed files (1)
lib
lib/std/Thread.zig
@@ -810,8 +810,10 @@ const LinuxThreadImpl = struct {
                     \\  1:
                     \\  cmp %%sp, 0
                     \\  beq 2f
+                    \\  nop
                     \\  restore
                     \\  ba 1f
+                    \\  nop
                     \\  2:
                     \\  mov 73, %%g1
                     \\  mov %[ptr], %%o0