]> git.proxmox.com Git - qemu.git/commit
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)
commit81570a70a004cf1292a55437f83c8f89131a6c08
tree97e9d22577d7b8e986748fb1163210ddfa227c4d
parenta369a702a13629ec58ed483eb4a259f5b67579d7
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