diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-03-29 16:56:49 -0600 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-03-31 11:03:59 -0600 |
commit | 7ceee3a19b31818e6f7c8e429e25b219aefa8dd6 (patch) | |
tree | f516452876f8e37d9f3c75b7abdb59cd566f0d9b /tcg | |
parent | cace6c6f3aca7b88afc42995f90bbefb37a0ed57 (diff) | |
download | qemu-7ceee3a19b31818e6f7c8e429e25b219aefa8dd6.zip qemu-7ceee3a19b31818e6f7c8e429e25b219aefa8dd6.tar.gz qemu-7ceee3a19b31818e6f7c8e429e25b219aefa8dd6.tar.bz2 |
tcg/aarch64: Use 'ull' suffix to force 64-bit constant
Typo used only 'ul' suffix, which is still 32-bits for windows host.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/947
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/aarch64/tcg-target.c.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/aarch64/tcg-target.c.inc b/tcg/aarch64/tcg-target.c.inc index 077fc51..5e67f88 100644 --- a/tcg/aarch64/tcg-target.c.inc +++ b/tcg/aarch64/tcg-target.c.inc @@ -1086,9 +1086,9 @@ static void tcg_out_movi(TCGContext *s, TCGType type, TCGReg rd, opc = I3405_MOVZ; } s0 = ctz64(t0) & (63 & -16); - t1 = t0 & ~(0xffffUL << s0); + t1 = t0 & ~(0xffffull << s0); s1 = ctz64(t1) & (63 & -16); - t2 = t1 & ~(0xffffUL << s1); + t2 = t1 & ~(0xffffull << s1); if (t2 == 0) { tcg_out_insn_3405(s, opc, type, rd, t0 >> s0, s0); if (t1 != 0) { |