summaryrefslogtreecommitdiffstats
path: root/tcg/tcg-op.h
diff options
context:
space:
mode:
authorRichard Henderson2019-05-17 00:11:17 +0200
committerRichard Henderson2019-05-22 21:09:43 +0200
commit7b60ef3264e9627ac6efb34e9a6130647e9b55c0 (patch)
treeb0b8601e407cf69007a23ddacdfad5f034373f01 /tcg/tcg-op.h
parentMerge remote-tracking branch 'remotes/cohuck/tags/s390x-20190521-3' into staging (diff)
downloadqemu-7b60ef3264e9627ac6efb34e9a6130647e9b55c0.tar.gz
qemu-7b60ef3264e9627ac6efb34e9a6130647e9b55c0.tar.xz
qemu-7b60ef3264e9627ac6efb34e9a6130647e9b55c0.zip
tcg/i386: Fix dupi/dupm for avx1 and 32-bit hosts
The VBROADCASTSD instruction only allows %ymm registers as destination. Rather than forcing VEX.L and writing to the entire 256-bit register, revert to using MOVDDUP with an %xmm register. This is sufficient for an avx1 host since we do not support TCG_TYPE_V256 for that case. Also fix the 32-bit avx2, which should have used VPBROADCASTW. Fixes: 1e262b49b533 Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg-op.h')
0 files changed, 0 insertions, 0 deletions