new arm64_apple target

Should make qbe work on apple
arm-based hardware.
This commit is contained in:
Quentin Carbonneaux 2022-08-31 21:29:15 +02:00
parent bda9f2833c
commit 79f3673d20
8 changed files with 273 additions and 73 deletions

View file

@ -28,6 +28,8 @@ extern int arm64_rclob[];
bits arm64_retregs(Ref, int[2]);
bits arm64_argregs(Ref, int[2]);
void arm64_abi(Fn *);
void apple_extsb(Fn *);
void apple_abi(Fn *);
/* isel.c */
int arm64_logimm(uint64_t, int);
@ -35,3 +37,4 @@ void arm64_isel(Fn *);
/* emit.c */
void arm64_emitfn(Fn *, FILE *);
void apple_emitfn(Fn *, FILE *);