authorgravatar for koachan@protonmail.comKoakuma <koachan@protonmail.com> 2022-03-19 09:06:58+07:00
committergravatar for koachan@protonmail.comKoakuma <koachan@protonmail.com> 2022-03-19 09:06:58+07:00
log731dda18dde439631ed93afb0c0a199dc8842726
treeda294fe5c5d7671e155a065ec5719fd230b631f8
parent59680b40a123472428db75410ec6d9c375313b45

stage2 sparcv9: zig fmt


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

src/arch/sparcv9/abi.zig+4-4
......@@ -5,8 +5,8 @@ const Register = bits.Register;
55// so no need to do it manually
66pub const callee_preserved_regs = [_]Register{};
77
8pub const c_abi_int_param_regs_caller_view = [_]Register{.o0, .o1, .o2, .o3, .o4, .o5};
9pub const c_abi_int_param_regs_callee_view = [_]Register{.@"i0", .@"i1", .@"i2", .@"i3", .@"i4", .@"i5"};
8pub const c_abi_int_param_regs_caller_view = [_]Register{ .o0, .o1, .o2, .o3, .o4, .o5 };
9pub const c_abi_int_param_regs_callee_view = [_]Register{ .@"i0", .@"i1", .@"i2", .@"i3", .@"i4", .@"i5" };
1010
11pub const c_abi_int_return_regs_caller_view = [_]Register{.o0, .o1, .o2, .o3, .o4, .o5};
12pub const c_abi_int_return_regs_callee_view = [_]Register{.@"i0", .@"i1", .@"i2", .@"i3", .@"i4", .@"i5"};
11pub const c_abi_int_return_regs_caller_view = [_]Register{ .o0, .o1, .o2, .o3, .o4, .o5 };
12pub const c_abi_int_return_regs_callee_view = [_]Register{ .@"i0", .@"i1", .@"i2", .@"i3", .@"i4", .@"i5" };
src/arch/sparcv9/bits.zig+1-1
......@@ -1078,7 +1078,7 @@ test "Serialize formats" {
10781078 },
10791079 .{
10801080 .inst = Instruction.format4d(8, 0, .xcc, 0, .l2),
1081 .expected = 0b10_10010_001000_1_0000_1_1_0_00000000000
1081 .expected = 0b10_10010_001000_1_0000_1_1_0_00000000000,
10821082 },
10831083 .{
10841084 .inst = Instruction.format4e(8, .xcc, .g0, .o1, 0),