Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests: KVM: Don't clobber XMM register when read

There is no need to clobber a register that is only being read from.
Oops. Drop the XMM register from the clobbers list.

Signed-off-by: Oliver Upton <oupton@google.com>
Message-Id: <20210927223621.50178-1-oupton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

authored by

Oliver Upton and committed by
Paolo Bonzini
e02c16b9 5c49d185

+1 -1
+1 -1
tools/testing/selftests/kvm/include/x86_64/processor.h
··· 315 315 #define GET_XMM(__xmm) \ 316 316 ({ \ 317 317 unsigned long __val; \ 318 - asm volatile("movq %%"#__xmm", %0" : "=r"(__val) : : #__xmm); \ 318 + asm volatile("movq %%"#__xmm", %0" : "=r"(__val)); \ 319 319 __val; \ 320 320 }) 321 321