mirror of
https://github.com/ziglang/zig.git
synced 2026-01-19 05:45:12 +00:00
stage2 sparcv9: Fix typo in format2c
This commit is contained in:
parent
672da9c613
commit
f64ce3abaf
@ -520,7 +520,7 @@ pub const Instruction = union(enum) {
|
||||
// Discard the last two bits since those are implicitly zero.
|
||||
const udisp = @truncate(u19, @bitCast(u21, disp) >> 2);
|
||||
|
||||
const ccr_cc1 = @truncate(u1, @enumToInt(ccr) > 1);
|
||||
const ccr_cc1 = @truncate(u1, @enumToInt(ccr) >> 1);
|
||||
const ccr_cc0 = @truncate(u1, @enumToInt(ccr));
|
||||
return Instruction{
|
||||
.format_2c = .{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user