From: Avi Kivity Date: Tue, 13 Sep 2011 07:45:49 +0000 (+0300) Subject: KVM: x86 emulator: streamline decode of segment registers X-Git-Tag: v3.2-rc1~119^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c191a7a0f4d3b17cc6cee1d3f721dfe23fc7d6c6;p=pandora-kernel.git KVM: x86 emulator: streamline decode of segment registers The opcodes push %seg pop %seg l%seg, %mem, %reg (e.g. lds/les/lss/lfs/lgs) all have an segment register encoded in the instruction. To allow reuse, decode the segment number into src2 during the decode stage instead of the execution stage. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed