From: Avi Kivity Date: Sat, 9 Feb 2013 09:31:45 +0000 (+0200) Subject: KVM: x86 emulator: decode extended accumulator explicity X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~22^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=820207c8fc508be8f104d4d6b19c8f695fe0d5f3;p=pandora-kernel.git KVM: x86 emulator: decode extended accumulator explicity Single-operand MUL and DIV access an extended accumulator: AX for byte instructions, and DX:AX, EDX:EAX, or RDX:RAX for larger-sized instructions. Add support for fetching the extended accumulator. In order not to change things too much, RDX is loaded into Src2, which is already loaded by fastop(). This avoids increasing register pressure on i386. Gleb: disable src writeback for ByteOp div/mul. Signed-off-by: Avi Kivity Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed