commit 3c75d723ac94e578b95690a4f9558b2fbf894c39 (tree)
parent 4ef6864a155cbb23edb5e5aaa5aa34fdd0e53b39
Author: joachimschmidt557 <joachim.schmidt557@outlook.com>
Date: Wed, 28 Oct 2020 14:39:55 +0100
stage2 aarch64: add codegen/aarch64.zig
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/codegen/aarch64.zig b/src/codegen/aarch64.zig
@@ -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,