From efd6fd88d2c73ae48ff74ba9e772e2347009fe9e Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 13 Dec 2024 21:12:22 +0000 Subject: deploy: e6095b086f6e2429fb952ae75a193dc89b4b9082 --- src/juicebox_asm/insn/cmp.rs.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/juicebox_asm/insn/cmp.rs.html') diff --git a/src/juicebox_asm/insn/cmp.rs.html b/src/juicebox_asm/insn/cmp.rs.html index 35bb5b7..166f22f 100644 --- a/src/juicebox_asm/insn/cmp.rs.html +++ b/src/juicebox_asm/insn/cmp.rs.html @@ -12,8 +12,14 @@ 11 12 13 -14
use super::Cmp;
-use crate::{Asm, Imm16, Imm8, Mem16, Mem8};
+14
+15
+16
+17
+18
+19
+20
use super::Cmp;
+use crate::{Asm, Imm16, Imm8, Mem16, Mem8, Reg64};
 
 impl Cmp<Mem8, Imm8> for Asm {
     fn cmp(&mut self, op1: Mem8, op2: Imm8) {
@@ -26,4 +32,10 @@
         self.encode_mi(0x81, 0x7, op1, op2);
     }
 }
+
+impl Cmp<Reg64, Reg64> for Asm {
+    fn cmp(&mut self, op1: Reg64, op2: Reg64) {
+        self.encode_rr(&[0x3b], op1, op2);
+    }
+}
 
\ No newline at end of file -- cgit v1.2.3