aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/insn/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/insn/test.rs')
-rw-r--r--src/insn/test.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/insn/test.rs b/src/insn/test.rs
index 1319e3f..25f1680 100644
--- a/src/insn/test.rs
+++ b/src/insn/test.rs
@@ -5,3 +5,9 @@ impl Test<Reg64, Reg64> for Asm {
self.encode_rr(0x85, op1, op2);
}
}
+
+impl Test<Reg32, Reg32> for Asm {
+ fn test(&mut self, op1: Reg32, op2: Reg32) {
+ self.encode_rr(0x85, op1, op2);
+ }
+}