From 264f2a457a19f86a3b82f40e5a57b990ae8d354f Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 7 Apr 2025 02:50:52 -0700 Subject: sfrecipa, more test cases, more inst variants --- src/display.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/display.rs') diff --git a/src/display.rs b/src/display.rs index 352ff3f..5ce3d80 100644 --- a/src/display.rs +++ b/src/display.rs @@ -146,6 +146,11 @@ impl fmt::Display for Instruction { return write!(f, "{} = add(clb({}), {})", self.dest.as_ref().unwrap(), self.sources[0], self.sources[1]); } + Opcode::SfRecipa => { + return write!(f, "{}, {} = {}({}, {})", + self.dest.as_ref().unwrap(), self.alt_dest.as_ref().unwrap(), + self.opcode, self.sources[0], self.sources[1]); + } Opcode::SfInvsqrta => { return write!(f, "{}, {} = {}({})", self.dest.as_ref().unwrap(), self.alt_dest.as_ref().unwrap(), -- cgit v1.1