Skip to content

Emulate MMX MOVQ

Avi Kivity kvm 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- s/return rc/goto done/ to get correct return code semantics
- now passes #MF on movq unit test

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: x86 emulator: MMX supportarch/x86/include/asm/kvm_emulate.h arch/x86/kvm/emulate.c+102 -50 replies
2/2KVM: x86 emulator: implement MMX MOVQ (opcodes 0f 6f, 0f 7f)arch/x86/kvm/emulate.c+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Emulate MMX MOVQ

This patchset emulates two instructions:

MOVQ mm, mm/m64
MOVQ mm/m64, mm

Needed by https://bugzilla.kernel.org/show_bug.cgi?id=42779.

Changes from v2:
- s/return rc/goto done/ to get correct return code semantics
- now passes #MF on movq unit test

Changes from v1:
- fix spurious traps propgated into the guest
- delay loading mmx register state until after we're sure it won't trap

Avi Kivity (2):
KVM: x86 emulator: MMX support
KVM: x86 emulator: implement MMX MOVQ (opcodes 0f 6f, 0f 7f)

 arch/x86/include/asm/kvm_emulate.h |    4 +-
 arch/x86/kvm/emulate.c             |  111 ++++++++++++++++++++++++++++++++++--
 2 files changed, 109 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.9