summaryrefslogtreecommitdiff
path: root/include/io
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-05-16 15:11:17 -0700
committerRichard Henderson <richard.henderson@linaro.org>2019-05-22 15:09:43 -0400
commit7b60ef3264e9627ac6efb34e9a6130647e9b55c0 (patch)
treeb0b8601e407cf69007a23ddacdfad5f034373f01 /include/io
parenta4f667b6714916683408b983cfe0a615a725775f (diff)
downloadqemu-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 'include/io')
0 files changed, 0 insertions, 0 deletions