target/i386: fix PHSUB* instructions with dest=src
commit75046ad72eaaae954849e2b793b6f629befb4ebc
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 Aug 2022 15:46:36 +0000 (25 17:46 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Sep 2022 06:37:04 +0000 (1 08:37 +0200)
treed0029901e144a2b1f42ad25ca30fd226968e51aa
parent7b764d41733075624bf7d93b3e1ff9aa8f66f563
target/i386: fix PHSUB* instructions with dest=src

The computation must not overwrite neither the destination
nor the source before the last element has been computed.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/ops_sse.h