aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/t_aarch64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/t_aarch64.h')
-rw-r--r--src/t_aarch64.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/t_aarch64.h b/src/t_aarch64.h
new file mode 100644
index 0000000..828909e
--- /dev/null
+++ b/src/t_aarch64.h
@@ -0,0 +1,16 @@
+#include "../ir/ir.h"
+
+enum reg {
+ R0 = 0,
+#define R(n) (R0+n)
+ FP = R(29), LR = R(30), SP = R(31),
+ V0,
+#define V(n) (V0+n)
+};
+
+bool aarch64_logimm(uint *enc, enum irclass, uvlong x);
+void aarch64_isel(struct function *);
+void aarch64_emit(struct function *);
+
+/* vim:set ts=3 sw=3 expandtab: */
+