authorgravatar for koachan@protonmail.comKoakuma <koachan@protonmail.com> 2022-03-16 21:40:59+07:00
committergravatar for koachan@protonmail.comKoakuma <koachan@protonmail.com> 2022-03-16 21:40:59+07:00
log1cea8b271e8c1e7888dc6102014ee69bf2fcbe47
tree257834b1e5e395830ec25235bb9c0036616ef3b9
parentd6a35500e5afdbd26c8af4263f2167eb27c1b7e9

stage2 sparcv9: Add list of preserved regs


1 files changed, 9 insertions(+), 0 deletions(-)

src/arch/sparcv9/abi.zig created+9
......@@ -0,0 +1,9 @@
1const bits = @import("bits.zig");
2const Register = bits.Register;
3
4// Register windowing mechanism will take care of preserving registers
5// so no need to do it manually
6pub const callee_preserved_regs = [_]Register{};
7
8// pub const c_abi_int_param_regs = [_]Register{};
9// pub const c_abi_int_return_regs = [_]Register{};