aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/froundnx_q.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/froundnx_q.h')
-rw-r--r--riscv/insns/froundnx_q.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/riscv/insns/froundnx_q.h b/riscv/insns/froundnx_q.h
new file mode 100644
index 0000000..91bab77
--- /dev/null
+++ b/riscv/insns/froundnx_q.h
@@ -0,0 +1,5 @@
+require_extension('Q');
+require_extension(EXT_ZFA);
+require_fp;
+WRITE_FRD(f128_roundToInt(f128(FRS1), RM, false));
+set_fp_exceptions;