Il 15/03/2014 23:39, H. Peter Anvin ha scritto:
MOVAPS, MOVAPD, and MOVDQA are the same operation. They may, architecturally, have different performance characteristics, but nothing that would affect an emulator.
In fact MOVAPS and MOVAPD are implemented the same way in this patch:
I(Aligned, em_mov), I(Aligned, em_mov), N, N,
These are respectively for no prefix, 0x66, 0xf2 and 0xf3. MOVDQA was
already implemented, but on AMD some memcpy implementations use MOVAPS
because it's a byte shorter.
Paolo
On March 15, 2014 1:01:58 PM PDT, Igor Mammedov <imammedo@xxxxxxxxxx> wrote:
MS HCK test fails on 32-bit Windows 8.1 due to missing MOVAPS
instruction emulation, this series adds it and while at it,
it adds emulation of MOVAPD which is trivial to implement on
top of MOVAPS.
Igor Mammedov (2):
KVM: x86 emulator: emulate MOVAPS
KVM: x86 emulator: emulate MOVAPD
arch/x86/kvm/emulate.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html