diff options
author | Philipp Tomsich <philipp.tomsich@vrull.eu> | 2023-03-17 00:10:56 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@vrull.eu> | 2023-03-17 01:21:27 +0100 |
commit | e77307f37e7538622d48a5a43560d60d27e318da (patch) | |
tree | 7aadf1b08ae4c1e9edd041a946f1125bdb1ad89e /unratified/rv64_q_zfa | |
parent | 32453565a7772b5771627bb5165c153bfb2b81cd (diff) | |
download | riscv-opcodes-e77307f37e7538622d48a5a43560d60d27e318da.zip riscv-opcodes-e77307f37e7538622d48a5a43560d60d27e318da.tar.gz riscv-opcodes-e77307f37e7538622d48a5a43560d60d27e318da.tar.bz2 |
Add (unratified) Zfa extension
Zfa adds 'missing' floating-point functionality:
- fli.[hsdq]: floating-point load-immediate
- fminm/fmaxm.[hsdq]: IEEE 754-2019 minimum and maximum
- fround(nx)?.[hsdq]: IEEE 754-2019 roundToIntegral(Exact)?
- fcvtmod.w.d: ECMAScript modular float->integer conversion
- move instructions for XLEN < FLEN
- comparisons that support quiet NaN inputs
This adds a surprisingly large number of files, as the instructions
added with Zfa depend on context (e.g., .h-variants become available
only if Zfh is present).
Diffstat (limited to 'unratified/rv64_q_zfa')
-rw-r--r-- | unratified/rv64_q_zfa | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unratified/rv64_q_zfa b/unratified/rv64_q_zfa new file mode 100644 index 0000000..b9ec80d --- /dev/null +++ b/unratified/rv64_q_zfa @@ -0,0 +1,2 @@ +fmvh.x.q rd rs1 24..20=1 31..27=0x1C 14..12=0 26..25=3 6..2=0x14 1..0=3 +fmvp.q.x rd rs1 24..20=1 31..27=0x16 14..12=0 26..25=3 6..2=0x14 1..0=3
\ No newline at end of file |