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) {
583583 .rs1 = rs1.enc(),
584584 .cc1 = ccr_cc1,
585585 .cc0 = ccr_cc0,
586 .simm11 = @bitCast(i11, imm),
586 .simm11 = @bitCast(u11, imm),
587587 },
588588 };
589589 }
......@@ -617,7 +617,7 @@ pub const Instruction = union(enum) {
617617 .cond = cond,
618618 .cc1 = ccr_cc1,
619619 .cc0 = ccr_cc0,
620 .simm11 = @bitCast(i11, imm),
620 .simm11 = @bitCast(u11, imm),
621621 },
622622 };
623623 }