]> git.proxmox.com Git - mirror_qemu.git/commit
target/i386: Destructive vector helpers for AVX
authorPaul Brook <paul@nowt.org>
Sun, 24 Apr 2022 22:01:35 +0000 (23:01 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Sep 2022 18:16:33 +0000 (20:16 +0200)
commitd45b0de63d545aad2a2d91fde7b816ee3641d8d4
tree14116cc81af6ea1e7e64e183f4b61d3d43ac9266
parente894bae8cbfdf08c0f006234badf297857aed3cd
target/i386: Destructive vector helpers for AVX

These helpers need to take special care to avoid overwriting source values
before the wole result has been calculated.  Currently they 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-14-paul@nowt.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/ops_sse.h