[aarch64] Fix mov bug that got in in the last minute :D
This commit is contained in:
parent
fae9c7074b
commit
76ccba445f
|
@ -176,7 +176,7 @@ u32 arm_to_a64_reg[] =
|
||||||
aa64_emit_movne(ireg, (~(imm))); \
|
aa64_emit_movne(ireg, (~(imm))); \
|
||||||
} else if (((imm) & 0xffff) == 0) { \
|
} else if (((imm) & 0xffff) == 0) { \
|
||||||
/* immediate like 0xxxxx0000 */ \
|
/* immediate like 0xxxxx0000 */ \
|
||||||
aa64_emit_movhiz(ireg, (imm)); \
|
aa64_emit_movhiz(ireg, ((imm) >> 16)); \
|
||||||
} else { \
|
} else { \
|
||||||
aa64_emit_movlo(ireg, imm); \
|
aa64_emit_movlo(ireg, imm); \
|
||||||
if ((imm) >= (1 << 16)) { \
|
if ((imm) >= (1 << 16)) { \
|
||||||
|
|
Loading…
Reference in New Issue