target/i386: provide 3-operand versions of unary scalar helpers
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 9 Sep 2022 09:08:18 +0000 (11:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Oct 2022 11:58:04 +0000 (13:58 +0200)
commit620f75566a5d81d7b82b3788b83d0b95c7d21dcd
tree2f634bf5ca6e397b4235df317370475531a3bfbb
parent1de9e7e61212e332e9bd7145c744bd3f411c7847
target/i386: provide 3-operand versions of unary scalar helpers

Compared to Paul's implementation, the new decoder will use a different approach
to implement AVX's merging of dst with src1 on scalar operations.  Adjust the
old SSE decoder to be compatible with new-style helpers.

The affected instructions are CVTSx2Sx, ROUNDSx, RSQRTSx, SQRTSx, RCPSx.

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