stage2 aarch64: add codegen/aarch64.zig

This commit is contained in:
joachimschmidt557 2020-10-28 14:39:55 +01:00 committed by Jakub Konka
parent 4ef6864a15
commit 3c75d723ac

View File

@ -59,6 +59,7 @@ pub const callee_preserved_regs = [_]Register{
.x19, .x20, .x21, .x22, .x23,
.x24, .x25, .x26, .x27, .x28,
};
pub const c_abi_int_param_regs = [_]Register{ .x0, .x1, .x2, .x3, .x4, .x5, .x6, .x7 };
pub const c_abi_int_return_regs = [_]Register{ .x0, .x1 };
@ -201,7 +202,6 @@ pub const Instruction = union(enum) {
opc: u2 = 0b10,
sf: u1,
},
SupervisorCall: packed struct {
fixed_1: u5 = 0b00001,
imm16: u16,