]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: use aligned variants of SSE register ops
authorMathias Krause <minipli@googlemail.com>
Wed, 29 Aug 2012 23:30:14 +0000 (01:30 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 5 Sep 2012 09:41:11 +0000 (12:41 +0300)
commit42aa58af70c2eaea8d894f00359f4b3d1acfe1c9
tree003a6870a0bb5724f1cc2a15beecfae6793bbe54
parentddec4a47fe2d4012167e7bea381589c0cc7e0349
KVM: x86 emulator: use aligned variants of SSE register ops

As the the compiler ensures that the memory operand is always aligned
to a 16 byte memory location, use the aligned variant of MOVDQ for
read_sse_reg() and write_sse_reg().

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c