Skip to content

Commit

Permalink
migrate Q-extension opcodes
Browse files Browse the repository at this point in the history
- renaming files and reordering to preserve latex-table order
  • Loading branch information
neelgala committed Apr 8, 2022
1 parent 6fa94f6 commit 9dda447
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
1 change: 1 addition & 0 deletions opcodes-rv64q → rv64_q
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ fcvt.lu.q rd rs1 24..20=3 31..27=0x18 rm 26..25=3 6..2=0x14 1..0=3

fcvt.q.l rd rs1 24..20=2 31..27=0x1A rm 26..25=3 6..2=0x14 1..0=3
fcvt.q.lu rd rs1 24..20=3 31..27=0x1A rm 26..25=3 6..2=0x14 1..0=3

30 changes: 10 additions & 20 deletions opcodes-rv32q → rv_q
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
flq rd rs1 imm12 14..12=4 6..2=0x01 1..0=3
fsq imm12hi rs1 rs2 imm12lo 14..12=4 6..2=0x09 1..0=3
fmadd.q rd rs1 rs2 rs3 rm 26..25=3 6..2=0x10 1..0=3
fmsub.q rd rs1 rs2 rs3 rm 26..25=3 6..2=0x11 1..0=3
fnmsub.q rd rs1 rs2 rs3 rm 26..25=3 6..2=0x12 1..0=3
fnmadd.q rd rs1 rs2 rs3 rm 26..25=3 6..2=0x13 1..0=3
fadd.q rd rs1 rs2 31..27=0x00 rm 26..25=3 6..2=0x14 1..0=3
fsub.q rd rs1 rs2 31..27=0x01 rm 26..25=3 6..2=0x14 1..0=3
fmul.q rd rs1 rs2 31..27=0x02 rm 26..25=3 6..2=0x14 1..0=3
fdiv.q rd rs1 rs2 31..27=0x03 rm 26..25=3 6..2=0x14 1..0=3
fsqrt.q rd rs1 24..20=0 31..27=0x0B rm 26..25=3 6..2=0x14 1..0=3
fsgnj.q rd rs1 rs2 31..27=0x04 14..12=0 26..25=3 6..2=0x14 1..0=3
fsgnjn.q rd rs1 rs2 31..27=0x04 14..12=1 26..25=3 6..2=0x14 1..0=3
fsgnjx.q rd rs1 rs2 31..27=0x04 14..12=2 26..25=3 6..2=0x14 1..0=3
Expand All @@ -11,28 +18,11 @@ fcvt.s.q rd rs1 24..20=3 31..27=0x08 rm 26..25=0 6..2=0x14 1..0=3
fcvt.q.s rd rs1 24..20=0 31..27=0x08 rm 26..25=3 6..2=0x14 1..0=3
fcvt.d.q rd rs1 24..20=3 31..27=0x08 rm 26..25=1 6..2=0x14 1..0=3
fcvt.q.d rd rs1 24..20=1 31..27=0x08 rm 26..25=3 6..2=0x14 1..0=3
fsqrt.q rd rs1 24..20=0 31..27=0x0B rm 26..25=3 6..2=0x14 1..0=3



fle.q rd rs1 rs2 31..27=0x14 14..12=0 26..25=3 6..2=0x14 1..0=3
flt.q rd rs1 rs2 31..27=0x14 14..12=1 26..25=3 6..2=0x14 1..0=3
feq.q rd rs1 rs2 31..27=0x14 14..12=2 26..25=3 6..2=0x14 1..0=3


flt.q rd rs1 rs2 31..27=0x14 14..12=1 26..25=3 6..2=0x14 1..0=3
fle.q rd rs1 rs2 31..27=0x14 14..12=0 26..25=3 6..2=0x14 1..0=3
fclass.q rd rs1 24..20=0 31..27=0x1C 14..12=1 26..25=3 6..2=0x14 1..0=3
fcvt.w.q rd rs1 24..20=0 31..27=0x18 rm 26..25=3 6..2=0x14 1..0=3
fcvt.wu.q rd rs1 24..20=1 31..27=0x18 rm 26..25=3 6..2=0x14 1..0=3
fclass.q rd rs1 24..20=0 31..27=0x1C 14..12=1 26..25=3 6..2=0x14 1..0=3


fcvt.q.w rd rs1 24..20=0 31..27=0x1A rm 26..25=3 6..2=0x14 1..0=3
fcvt.q.wu rd rs1 24..20=1 31..27=0x1A rm 26..25=3 6..2=0x14 1..0=3

flq rd rs1 imm12 14..12=4 6..2=0x01 1..0=3

fsq imm12hi rs1 rs2 imm12lo 14..12=4 6..2=0x09 1..0=3

fmadd.q rd rs1 rs2 rs3 rm 26..25=3 6..2=0x10 1..0=3
fmsub.q rd rs1 rs2 rs3 rm 26..25=3 6..2=0x11 1..0=3
fnmsub.q rd rs1 rs2 rs3 rm 26..25=3 6..2=0x12 1..0=3
fnmadd.q rd rs1 rs2 rs3 rm 26..25=3 6..2=0x13 1..0=3

0 comments on commit 9dda447

Please sign in to comment.