Index: src/x64/assembler-x64.h |
=================================================================== |
--- src/x64/assembler-x64.h (revision 2363) |
+++ src/x64/assembler-x64.h (working copy) |
@@ -562,6 +562,14 @@ |
immediate_arithmetic_op_8(0x7, dst, src); |
} |
+ void cmpl(Register dst, Register src) { |
+ arithmetic_op_32(0x3B, dst, src); |
+ } |
+ |
+ void cmpl(Register dst, Immediate src) { |
+ immediate_arithmetic_op_32(0x7, dst, src); |
+ } |
+ |
void cmpq(Register dst, Register src) { |
arithmetic_op(0x3B, dst, src); |
} |
@@ -578,10 +586,6 @@ |
immediate_arithmetic_op(0x7, dst, src); |
} |
- void cmpl(Register dst, Immediate src) { |
- immediate_arithmetic_op_32(0x7, dst, src); |
- } |
- |
void cmpq(const Operand& dst, Immediate src) { |
immediate_arithmetic_op(0x7, dst, src); |
} |
@@ -740,6 +744,7 @@ |
void testb(Register reg, Immediate mask); |
void testb(const Operand& op, Immediate mask); |
+ void testl(Register dst, Register src); |
void testl(Register reg, Immediate mask); |
void testl(const Operand& op, Immediate mask); |
void testq(const Operand& op, Register reg); |