aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fnmsub_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/fnmsub_s.h')
-rw-r--r--riscv/insns/fnmsub_s.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/insns/fnmsub_s.h b/riscv/insns/fnmsub_s.h
new file mode 100644
index 0000000..cbb70ba
--- /dev/null
+++ b/riscv/insns/fnmsub_s.h
@@ -0,0 +1,4 @@
+require_fp;
+softfloat_roundingMode = RM;
+FRD = f32_mulAdd(FRS1, FRS2, FRS3 ^ (uint32_t)INT32_MIN) ^ (uint32_t)INT32_MIN;
+set_fp_exceptions;