target/i386: fix phadd* with identical destination and source register
commit2dfbea1a872727fb747ca6adf2390e09956cdc6e
authorJanne Grunau <j@jannau.net>
Wed, 1 Apr 2020 22:52:53 +0000 (2 00:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Jun 2020 16:09:42 +0000 (10 12:09 -0400)
tree18588b4d300d9f49cb255304c3eb63cf159d21ad
parentcac9edfc4dad2a7d2ad7e23e0de4edc41801e346
target/i386: fix phadd* with identical destination and source register

Detected by asm test suite failures in dav1d
(https://code.videolan.org/videolan/dav1d). Can be reproduced by
`qemu-x86_64 -cpu core2duo ./tests/checkasm --test=mc_8bpc 1659890620`.

Signed-off-by: Janne Grunau <j@jannau.net>
Message-Id: <20200401225253.30745-1-j@jannau.net>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/ops_sse.h