authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-07-15 19:25:56-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-07-16 10:27:40-07:00
log8a478b4e9e06ac0e0a59fc575222cf075aa64bc4
treeadfe94a991bdb419a39562bbab49859fbad701f3
parent5aa50bcbff7f6bee7217f5e6e3e358f47aa748c8

fix sparc ccr regs


1 files changed, 7 insertions(+), 3 deletions(-)

lib/std/builtin/assembly.zig+7-3
...@@ -1004,13 +1004,17 @@ pub const Clobbers = switch (@import("builtin").cpu.arch) {...@@ -1004,13 +1004,17 @@ pub const Clobbers = switch (@import("builtin").cpu.arch) {
1004 /// addresses other than those derived from input pointer provenance.1004 /// addresses other than those derived from input pointer provenance.
1005 memory: bool = false,1005 memory: bool = false,
10061006
1007 xcc: bool = false,
1008
1009 psr: bool = false,1007 psr: bool = false,
1010 ccr: bool = false,
1011 gsr: bool = false,1008 gsr: bool = false,
1012 y: bool = false,1009 y: bool = false,
10131010
1011 /// asr2; v9+
1012 ccr: bool = false,
1013 /// Lower bits of `ccr`.
1014 icc: bool = false,
1015 /// Upper bits of `ccr`.
1016 xcc: bool = false,
1017
1014 g1: bool = false,1018 g1: bool = false,
1015 g2: bool = false,1019 g2: bool = false,
1016 g3: bool = false,1020 g3: bool = false,