From: Avi Kivity Date: Tue, 29 Mar 2011 09:34:38 +0000 (+0200) Subject: KVM: x86 emulator: Specialize decoding for insns with 66/f2/f3 prefixes X-Git-Tag: v3.0-rc1~350^2~111 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d7cdee83ad1582eecbf3b4a220e82dcb5ad561c;p=pandora-kernel.git KVM: x86 emulator: Specialize decoding for insns with 66/f2/f3 prefixes Most SIMD instructions use the 66/f2/f3 prefixes to distinguish between different variants of the same instruction. Usually the encoding is quite regular, but in some cases (including non-SIMD instructions) the prefixes generate very different instructions. Examples include XCHG/PAUSE, MOVQ/MOVDQA/MOVDQU, and MOVBE/CRC32. Allow the emulator to handle these special cases by splitting such opcodes into groups, with different decode flags and execution functions for different prefixes. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed