On 03/13/2011 05:17 PM, Takuya Yoshikawa wrote:
From: Takuya Yoshikawa<[email protected]>

ADD, OR, ADC, SBB, AND, SUB, XOR, CMP are converted using a new macro
I6ALU(_f, _e).

CMPS, SCAS will be converted later.

@@ -2337,10 +2401,20 @@ static int em_mov(struct x86_emulate_ctxt *ctxt)
  #define D6ALU(_f) D2bv((_f) | DstMem | SrcReg | ModRM),                       
\
                D2bv(((_f) | DstReg | SrcMem | ModRM)&  ~Lock),             \
                D2bv(((_f)&  ~Lock) | DstAcc | SrcImm)
+#define I6ALU(_f, _e) I2bv((_f) | DstMem | SrcReg | ModRM, _e),                
\
+               I2bv(((_f) | DstReg | SrcMem | ModRM)&  ~Lock, _e), \
+               I2bv(((_f)&  ~Lock) | DstAcc | SrcImm, _e)


I think you can remove D6ALU, no?

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to