authorgravatar for koachan@protonmail.comKoakuma <koachan@protonmail.com> 2022-03-14 20:09:56+07:00
committergravatar for koachan@protonmail.comKoakuma <koachan@protonmail.com> 2022-03-16 21:38:43+07:00
logbfe92f7d8cc9ceb76f194f8092cced081d8e5c84
treeb8f3b61a6c7366210accacfb746ed9970a91eb3f
parenta8dde7f0ae0776bc3ba5ad45fd0dd6578171425a

stage2 sparcv9: Fix bitcast typos


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

src/arch/sparcv9/bits.zig+2-2
...@@ -583,7 +583,7 @@ pub const Instruction = union(enum) {...@@ -583,7 +583,7 @@ pub const Instruction = union(enum) {
583 .rs1 = rs1.enc(),583 .rs1 = rs1.enc(),
584 .cc1 = ccr_cc1,584 .cc1 = ccr_cc1,
585 .cc0 = ccr_cc0,585 .cc0 = ccr_cc0,
586 .simm11 = @bitCast(i11, imm),586 .simm11 = @bitCast(u11, imm),
587 },587 },
588 };588 };
589 }589 }
...@@ -617,7 +617,7 @@ pub const Instruction = union(enum) {...@@ -617,7 +617,7 @@ pub const Instruction = union(enum) {
617 .cond = cond,617 .cond = cond,
618 .cc1 = ccr_cc1,618 .cc1 = ccr_cc1,
619 .cc0 = ccr_cc0,619 .cc0 = ccr_cc0,
620 .simm11 = @bitCast(i11, imm),620 .simm11 = @bitCast(u11, imm),
621 },621 },
622 };622 };
623 }623 }