Merge pull request #2088 from Sintendo/diecmp

Emit 'TEST reg, reg' for 'CMP reg, 0' automatically
This commit is contained in:
comex
2015-04-23 16:34:23 -04:00
7 changed files with 28 additions and 14 deletions

View File

@ -484,6 +484,8 @@ public:
void MOV (int bits, const OpArg &a1, const OpArg &a2);
void TEST(int bits, const OpArg &a1, const OpArg &a2);
void CMP_or_TEST(int bits, const OpArg &a1, const OpArg &a2);
// Are these useful at all? Consider removing.
void XCHG(int bits, const OpArg &a1, const OpArg &a2);
void XCHG_AHAL();