tcg-i386: Tidy non-immediate arithmetic operations.
authorRichard Henderson <rth@twiddle.net>
Fri, 21 May 2010 15:30:24 +0000 (08:30 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 21 May 2010 16:20:22 +0000 (16:20 +0000)
commit4802da527822656abdb37ed4101f016ec77aa8b1
tree97e9d22577d7b8e986748fb1163210ddfa227c4d
parent7f367566dccd402a173ddecb0f117249de641e44
tcg-i386: Tidy non-immediate arithmetic operations.

Add more OPC values, and tgen_arithr.  Use the later throughout.

Note that normal reg/reg arithmetic now uses the Gv,Ev opcode form
instead of the Ev,Gv opcode form used previously.  Both forms
disassemble properly, and so there's no visible change when diffing
log files before and after the change.  This change makes the operand
ordering within the output routines more natural, and avoids the need
to define an OPC_ARITH_EvGv since a read-modify-write with memory is
not needed within TCG.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/i386/tcg-target.c