stage2 sparcv9: zig fmt

This commit is contained in:
Koakuma 2022-03-19 09:06:58 +07:00
parent 59680b40a1
commit 731dda18dd
2 changed files with 5 additions and 5 deletions

View File

@ -5,8 +5,8 @@ const Register = bits.Register;
// so no need to do it manually
pub const callee_preserved_regs = [_]Register{};
pub const c_abi_int_param_regs_caller_view = [_]Register{.o0, .o1, .o2, .o3, .o4, .o5};
pub const c_abi_int_param_regs_callee_view = [_]Register{.@"i0", .@"i1", .@"i2", .@"i3", .@"i4", .@"i5"};
pub const c_abi_int_param_regs_caller_view = [_]Register{ .o0, .o1, .o2, .o3, .o4, .o5 };
pub const c_abi_int_param_regs_callee_view = [_]Register{ .@"i0", .@"i1", .@"i2", .@"i3", .@"i4", .@"i5" };
pub const c_abi_int_return_regs_caller_view = [_]Register{.o0, .o1, .o2, .o3, .o4, .o5};
pub const c_abi_int_return_regs_callee_view = [_]Register{.@"i0", .@"i1", .@"i2", .@"i3", .@"i4", .@"i5"};
pub const c_abi_int_return_regs_caller_view = [_]Register{ .o0, .o1, .o2, .o3, .o4, .o5 };
pub const c_abi_int_return_regs_callee_view = [_]Register{ .@"i0", .@"i1", .@"i2", .@"i3", .@"i4", .@"i5" };

View File

@ -1078,7 +1078,7 @@ test "Serialize formats" {
},
.{
.inst = Instruction.format4d(8, 0, .xcc, 0, .l2),
.expected = 0b10_10010_001000_1_0000_1_1_0_00000000000
.expected = 0b10_10010_001000_1_0000_1_1_0_00000000000,
},
.{
.inst = Instruction.format4e(8, .xcc, .g0, .o1, 0),