summaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs5
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(),