target/i386: Destructive FP helpers for AVX
commit6567ffb4f259d9937ff74f21e96cdac905440620
authorPaul Brook <paul@nowt.org>
Sun, 24 Apr 2022 22:01:39 +0000 (24 23:01 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Sep 2022 18:16:33 +0000 (1 20:16 +0200)
treea60ddfdb920044798a5ceb51b9eb0255d4cb0b61
parent6f218d6e994bd8b229d6522899b6ac6cd98bdb47
target/i386: Destructive FP helpers for AVX

Perpare the horizontal atithmetic vector helpers for AVX
These currently use a dummy Reg typed variable to store the result then
assign the whole register.  This will cause 128 bit operations to corrupt
the upper half of the register, so replace it with explicit temporaries
and element assignments.

Signed-off-by: Paul Brook <paul@nowt.org>
Message-Id: <20220424220204.2493824-18-paul@nowt.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/ops_sse.h