OSDN Git Service

tcg: Fix generation of dupi_vec for 32-bit host
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 7 Sep 2020 01:27:41 +0000 (18:27 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 8 Oct 2020 10:57:32 +0000 (05:57 -0500)
commita5b30d950c42b14bc9da24d1e68add6538d23336
tree486c6bc0fdac02207ac0c713137ef7f2e31a8274
parentf80d09b599a5e0fd7f44653f23b04104cb703f7a
tcg: Fix generation of dupi_vec for 32-bit host

The definition of INDEX_op_dupi_vec is that it operates on
units of tcg_target_ulong -- in this case 32 bits.  It does
not work to use this for a uint64_t value that happens to be
small enough to fit in tcg_target_ulong.

Fixes: d2fd745fe8b
Fixes: db432672dc5
Cc: qemu-stable@nongnu.org
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg-op-vec.c