[aarch64] Fix mov bug that got in in the last minute :D

This commit is contained in:
David Guillen Fandos 2021-12-13 18:49:42 +01:00
parent fae9c7074b
commit 76ccba445f
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ u32 arm_to_a64_reg[] =
aa64_emit_movne(ireg, (~(imm))); \
} else if (((imm) & 0xffff) == 0) { \
/* immediate like 0xxxxx0000 */ \
aa64_emit_movhiz(ireg, (imm)); \
aa64_emit_movhiz(ireg, ((imm) >> 16)); \
} else { \
aa64_emit_movlo(ireg, imm); \
if ((imm) >= (1 << 16)) { \