diff options
author | iximeow <me@iximeow.net> | 2025-04-07 02:50:52 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2025-04-07 02:50:52 -0700 |
commit | 264f2a457a19f86a3b82f40e5a57b990ae8d354f (patch) | |
tree | 39ff1eb1dc2bc4f1553f33c7f1f899f3446be7b9 /src/display.rs | |
parent | 9fcb6b30d6ccdd25d600e03ada84e6b17efffed7 (diff) |
sfrecipa, more test cases, more inst variants
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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(), |