mirror of
https://github.com/ziglang/zig.git
synced 2026-01-11 01:45:12 +00:00
stage2 aarch64: add codegen/aarch64.zig
This commit is contained in:
parent
4ef6864a15
commit
3c75d723ac
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user