aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/t_aarch64.h
blob: 2779e616869d1ce37ed0858a8f552adfaa32b7b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "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, u64int x);
void aarch64_isel(Function *);
void aarch64_emit(Function *);

/* vim:set ts=3 sw=3 expandtab: */