authorgravatar for joachim.schmidt557@outlook.comJoachim Schmidt <joachim.schmidt557@outlook.com> 2020-10-28 14:39:55+01:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2020-11-11 14:34:53+01:00
log3c75d723ac94e578b95690a4f9558b2fbf894c39
tree7a19e2f26251df2214eb79a01d3912afb717d66a
parent4ef6864a155cbb23edb5e5aaa5aa34fdd0e53b39

stage2 aarch64: add codegen/aarch64.zig


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

src/codegen/aarch64.zig+1-1
...@@ -59,6 +59,7 @@ pub const callee_preserved_regs = [_]Register{...@@ -59,6 +59,7 @@ pub const callee_preserved_regs = [_]Register{
59 .x19, .x20, .x21, .x22, .x23,59 .x19, .x20, .x21, .x22, .x23,
60 .x24, .x25, .x26, .x27, .x28,60 .x24, .x25, .x26, .x27, .x28,
61};61};
62
62pub const c_abi_int_param_regs = [_]Register{ .x0, .x1, .x2, .x3, .x4, .x5, .x6, .x7 };63pub const c_abi_int_param_regs = [_]Register{ .x0, .x1, .x2, .x3, .x4, .x5, .x6, .x7 };
63pub const c_abi_int_return_regs = [_]Register{ .x0, .x1 };64pub const c_abi_int_return_regs = [_]Register{ .x0, .x1 };
6465
...@@ -201,7 +202,6 @@ pub const Instruction = union(enum) {...@@ -201,7 +202,6 @@ pub const Instruction = union(enum) {
201 opc: u2 = 0b10,202 opc: u2 = 0b10,
202 sf: u1,203 sf: u1,
203 },204 },
204
205 SupervisorCall: packed struct {205 SupervisorCall: packed struct {
206 fixed_1: u5 = 0b00001,206 fixed_1: u5 = 0b00001,
207 imm16: u16,207 imm16: u16,