authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-17 21:01:09+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-18 00:36:52+02:00
log9fd7f38600a61b665978db6203ce019b6fe3054b
tree74ee4abb0dd268cb81004e5352966d3f846cd96a
parent727942bc03a2cd74d10c80894816456f9f66e977
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.debug.cpu_context.Sparc: fix bad use of call delay slot


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/debug/cpu_context.zig+2-2
...@@ -1207,8 +1207,8 @@ const Sparc = extern struct {...@@ -1207,8 +1207,8 @@ const Sparc = extern struct {
1207 \\ stx %i6, [%l0 + 240]1207 \\ stx %i6, [%l0 + 240]
1208 \\ stx %i7, [%l0 + 248]1208 \\ stx %i7, [%l0 + 248]
1209 \\ call 1f1209 \\ call 1f
1210 \\ stx %o7, [%l0 + 256]
1211 \\1:1210 \\1:
1211 \\ stx %o7, [%l0 + 256]
1212 else1212 else
1213 \\ std %g0, [%l0 + 0]1213 \\ std %g0, [%l0 + 0]
1214 \\ std %g2, [%l0 + 8]1214 \\ std %g2, [%l0 + 8]
...@@ -1227,8 +1227,8 @@ const Sparc = extern struct {...@@ -1227,8 +1227,8 @@ const Sparc = extern struct {
1227 \\ std %i4, [%l0 + 112]1227 \\ std %i4, [%l0 + 112]
1228 \\ std %i6, [%l0 + 120]1228 \\ std %i6, [%l0 + 120]
1229 \\ call 1f1229 \\ call 1f
1230 \\ st %o7, [%l0 + 128]
1231 \\1:1230 \\1:
1231 \\ st %o7, [%l0 + 128]
1232 :1232 :
1233 : [ctx] "{l0}" (&ctx),1233 : [ctx] "{l0}" (&ctx),
1234 : .{ .o7 = true, .memory = true });1234 : .{ .o7 = true, .memory = true });