| author | |
| committer | |
| log | 19de614e9d69c44c8b8bf94b4a941740cb4e228a |
| tree | 3b38209b1d8b0df1013d2e0c7e62be64802b2208 |
| parent | f376cbc37b38794857e63bffc3766ad5cb8482c2 |
| signature |
Turns out the architecture has an instruction that just... gives you the ic.
Revolutionary!1 files changed, 2 insertions(+), 3 deletions(-)
lib/std/debug/cpu_context.zig+2-3| ... | ... | @@ -1700,9 +1700,8 @@ const Ve = extern struct { |
| 1700 | 1700 | \\ st %%s61, 488(, %%s8) |
| 1701 | 1701 | \\ st %%s62, 496(, %%s8) |
| 1702 | 1702 | \\ st %%s63, 504(, %%s8) |
| 1703 | \\ br.l 1f | |
| 1704 | \\1: | |
| 1705 | \\ st %%lr, 512(, %%s8) | |
| 1703 | \\ sic %%s10 | |
| 1704 | \\ st %%s10, 512(, %%s8) | |
| 1706 | 1705 | : |
| 1707 | 1706 | : [ctx] "{s8}" (&ctx), |
| 1708 | 1707 | : .{ .s10 = true, .memory = true }); |