summary refs log tree commit diff
path: root/arm64/all.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2022-08-31 21:29:15 +0200
committerQuentin Carbonneaux <quentin@c9x.me>2022-10-03 10:41:26 +0200
commit79f3673d205617ac567f0566ebf8f450932d9976 (patch)
tree48ea32843eacd8ac33b4bbcdc975df5d8ab6356c /arm64/all.h
parentbda9f2833c39ea5f4266dbcb4506ed8895e22d3f (diff)
downloadroux-79f3673d205617ac567f0566ebf8f450932d9976.tar.gz
new arm64_apple target
Should make qbe work on apple
arm-based hardware.
Diffstat (limited to 'arm64/all.h')
-rw-r--r--arm64/all.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arm64/all.h b/arm64/all.h
index ff2b3ff..6b7f43e 100644
--- a/arm64/all.h
+++ b/arm64/all.h
@@ -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 *);