aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/t_aarch64_emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/t_aarch64_emit.c')
-rw-r--r--src/t_aarch64_emit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/t_aarch64_emit.c b/src/t_aarch64_emit.c
index abf1f3e..52429a3 100644
--- a/src/t_aarch64_emit.c
+++ b/src/t_aarch64_emit.c
@@ -31,7 +31,7 @@ typedef struct Oper {
short disp;
};
} m;
- vlong imm; uvlong uimm; /* OIMM */
+ s64int imm; u64int uimm; /* OIMM */
struct { /* OSYM */
ushort con;
int cdisp;
@@ -541,7 +541,7 @@ gencopy(uchar **pcode, enum irclass cls, Block *blk, int curi, Oper dst, Ref val
if (isintcon(val)) {
assert(dst.reg <= R(31));
/* MOV r, #imm */
- uvlong u = intconval(val);
+ u64int u = intconval(val);
if (~u <= 0xFFFF) {
/* immediate can be encoded with 1 MOVN instruction */
Xmovn(pcode, cls, dst, mkoper(OIMM, .imm = ~u));