aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/t_aarch64.h
blob: 997a5fd3438ed7b91431cad09a594e67f1e4d285 (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, uvlong x);
void aarch64_isel(Function *);
void aarch64_emit(Function *);

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