diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-10-17 21:01:09 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-10-18 00:36:52 +0200 |
| commit | 9fd7f38600a61b665978db6203ce019b6fe3054b (patch) | |
| tree | 74ee4abb0dd268cb81004e5352966d3f846cd96a /lib/std/debug/cpu_context.zig | |
| parent | 727942bc03a2cd74d10c80894816456f9f66e977 (diff) | |
| download | zig-9fd7f38600a61b665978db6203ce019b6fe3054b.tar.gz zig-9fd7f38600a61b665978db6203ce019b6fe3054b.zip | |
std.debug.cpu_context.Sparc: fix bad use of call delay slot
Diffstat (limited to 'lib/std/debug/cpu_context.zig')
| -rw-r--r-- | lib/std/debug/cpu_context.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/debug/cpu_context.zig b/lib/std/debug/cpu_context.zig index ac20c407e0..caed9e3289 100644 --- a/lib/std/debug/cpu_context.zig +++ b/lib/std/debug/cpu_context.zig @@ -1207,8 +1207,8 @@ const Sparc = extern struct { \\ stx %i6, [%l0 + 240] \\ stx %i7, [%l0 + 248] \\ call 1f - \\ stx %o7, [%l0 + 256] \\1: + \\ stx %o7, [%l0 + 256] else \\ std %g0, [%l0 + 0] \\ std %g2, [%l0 + 8] @@ -1227,8 +1227,8 @@ const Sparc = extern struct { \\ std %i4, [%l0 + 112] \\ std %i6, [%l0 + 120] \\ call 1f - \\ st %o7, [%l0 + 128] \\1: + \\ st %o7, [%l0 + 128] : : [ctx] "{l0}" (&ctx), : .{ .o7 = true, .memory = true }); |
