Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 844fa5061428fc4158809d83ecabc01e52498f8e..e48f3586d3ea3a40f2d2e94618cbf5d68934bd0d 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -773,6 +773,10 @@ class Assembler : public AssemblerBase { |
arithmetic_op_16(0x39, src, dst); |
} |
+ void testb(Register reg, const Operand& op) { testb(op, reg); } |
+ |
+ void testw(Register reg, const Operand& op) { testw(op, reg); } |
+ |
void andb(Register dst, Immediate src) { |
immediate_arithmetic_op_8(0x4, dst, src); |
} |
@@ -848,6 +852,11 @@ class Assembler : public AssemblerBase { |
void testb(const Operand& op, Immediate mask); |
void testb(const Operand& op, Register reg); |
+ void testw(Register dst, Register src); |
+ void testw(Register reg, Immediate mask); |
+ void testw(const Operand& op, Immediate mask); |
+ void testw(const Operand& op, Register reg); |
+ |
// Bit operations. |
void bt(const Operand& dst, Register src); |
void bts(const Operand& dst, Register src); |