Skip to content

Ghidra is a software reverse engineering (SRE) framework

V850: Added Extended Floating Point Instructions

Paramjot (PJ) Oberoi0a9af0b7256d
diff --git a/Ghidra/Processors/V850/data/languages/Instructions/Float.sinc b/Ghidra/Processors/V850/data/languages/Instructions/Float.sinc
index 9aa95a5b7b..25d5ad0581 100644
--- a/Ghidra/Processors/V850/data/languages/Instructions/Float.sinc
+++ b/Ghidra/Processors/V850/data/languages/Instructions/Float.sinc
@@ -300,6 +300,19 @@
R2731 = (R1115 f* R0004) f+ R2731;
}
+# FMSF.S reg1, reg2, reg3 - rrrrr111111RRRRR|wwwww10011100010
+:fmsf.s R0004, R1115, R2731 is R0004 & op0510=0x3F & R1115; R2731 & op1626=0b10011100010
+{
+ R2731 = (R1115 f* R0004) f- R2731;
+}
+
+# FNMAF.S reg1, reg2, reg3 - rrrrr111111RRRRR|wwwww10011100100
+:fnmaf.s R0004, R1115, R2731 is R0004 & op0510=0x3F & R1115; R2731 & op1626=0b10011100100
+{
+
+ R2731 = -1 f* ((R1115 f* R0004) f+ R2731);
+}
+
# FNMSF.S reg1, reg2, reg3 - rrrrr111111RRRRR|wwwww10011100110
:fnmfs.s R0004, R1115, R2731 is R0004 & op0510=0x3F & R1115; R2731 & op1626=0b10011100110
{