diff options
author | comex | 2015-01-24 22:23:27 -0500 |
---|---|---|
committer | comex | 2015-01-24 22:23:27 -0500 |
commit | bd22f1a62adc6a5fc0645484039ba099a3a72e04 (patch) | |
tree | 200acf4e5ebed0862072d45ae4cc1631d6d8ed33 /lib/arm64/assemble.h | |
parent | ... (diff) | |
download | substitute-bd22f1a62adc6a5fc0645484039ba099a3a72e04.tar.gz |
it compiles...
Diffstat (limited to 'lib/arm64/assemble.h')
-rw-r--r-- | lib/arm64/assemble.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/arm64/assemble.h b/lib/arm64/assemble.h index 00797e9..c20c219 100644 --- a/lib/arm64/assemble.h +++ b/lib/arm64/assemble.h @@ -47,7 +47,9 @@ static inline void ADRP_ADD(void **codep, int reg, uint64_t pc, uint64_t dpc) { /* ADD reg, reg, #lo */ op32(codep, 0x91000000 | reg | reg << 5 | lo << 10); } - /* BR reg */ +} + +static inline void BR(void **codep, int reg) { op32(codep, 0xd61f0000 | reg << 5); } |