diff options
| author | 2026-03-17 13:22:00 +0100 | |
|---|---|---|
| committer | 2026-03-17 13:22:00 +0100 | |
| commit | a8d6f8bf30c07edb775e56889f568ca20240bedf (patch) | |
| tree | b5a452b2675b2400f15013617291fe6061180bbf /src/t_aarch64.h | |
| parent | 24f14b7ad1af08d872971d72ce089a529911f657 (diff) | |
REFACTOR: move sources to src/
Diffstat (limited to 'src/t_aarch64.h')
| -rw-r--r-- | src/t_aarch64.h | 16 |
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: */ + |