stage2+aarch64: fix stage2 tests

This commit is contained in:
Jakub Konka
2020-12-09 08:07:47 +01:00
parent eca0727417
commit e91dbab256
2 changed files with 25 additions and 25 deletions

View File

@@ -2768,8 +2768,8 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type {
.x0,
.x28,
Register.sp,
-2,
.SignedOffset,
-16,
.PreIndex,
).toU32());
// adr x28, #8
mem.writeIntLittle(u32, try self.code.addManyAsArray(4), Instruction.adr(.x28, 8).toU32());
@@ -2795,8 +2795,8 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type {
.x0,
.x28,
Register.sp,
2,
.SignedOffset,
16,
.PostIndex,
).toU32());
}
} else {