Skip to content

Commit

Permalink
migrate Zfh-extension opcodes
Browse files Browse the repository at this point in the history
- involves renaming and minor reordering to preserve latex tables
  • Loading branch information
neelgala committed Apr 8, 2022
1 parent 88085a5 commit c801c67
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion opcodes-rv32d-zfh → rv_d_zfh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fcvt.h.d rd rs1 24..20=1 31..27=0x08 rm 26..25=2 6..2=0x14 1..0=3
fcvt.d.h rd rs1 24..20=2 31..27=0x08 rm 26..25=1 6..2=0x14 1..0=3
fcvt.h.d rd rs1 24..20=1 31..27=0x08 rm 26..25=2 6..2=0x14 1..0=3
2 changes: 1 addition & 1 deletion opcodes-rv32q-zfh → rv_q_zfh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fcvt.h.q rd rs1 24..20=3 31..27=0x08 rm 26..25=2 6..2=0x14 1..0=3
fcvt.q.h rd rs1 24..20=2 31..27=0x08 rm 26..25=3 6..2=0x14 1..0=3
fcvt.h.q rd rs1 24..20=3 31..27=0x08 rm 26..25=2 6..2=0x14 1..0=3
26 changes: 11 additions & 15 deletions opcodes-rv32zfh → rv_zfh
Original file line number Diff line number Diff line change
@@ -1,34 +1,30 @@
flh rd rs1 imm12 14..12=1 6..2=0x01 1..0=3
fsh imm12hi rs1 rs2 imm12lo 14..12=1 6..2=0x09 1..0=3
fmadd.h rd rs1 rs2 rs3 rm 26..25=2 6..2=0x10 1..0=3
fmsub.h rd rs1 rs2 rs3 rm 26..25=2 6..2=0x11 1..0=3
fnmsub.h rd rs1 rs2 rs3 rm 26..25=2 6..2=0x12 1..0=3
fnmadd.h rd rs1 rs2 rs3 rm 26..25=2 6..2=0x13 1..0=3
fadd.h rd rs1 rs2 31..27=0x00 rm 26..25=2 6..2=0x14 1..0=3
fsub.h rd rs1 rs2 31..27=0x01 rm 26..25=2 6..2=0x14 1..0=3
fmul.h rd rs1 rs2 31..27=0x02 rm 26..25=2 6..2=0x14 1..0=3
fdiv.h rd rs1 rs2 31..27=0x03 rm 26..25=2 6..2=0x14 1..0=3
fsqrt.h rd rs1 24..20=0 31..27=0x0B rm 26..25=2 6..2=0x14 1..0=3
fsgnj.h rd rs1 rs2 31..27=0x04 14..12=0 26..25=2 6..2=0x14 1..0=3
fsgnjn.h rd rs1 rs2 31..27=0x04 14..12=1 26..25=2 6..2=0x14 1..0=3
fsgnjx.h rd rs1 rs2 31..27=0x04 14..12=2 26..25=2 6..2=0x14 1..0=3
fmin.h rd rs1 rs2 31..27=0x05 14..12=0 26..25=2 6..2=0x14 1..0=3
fmax.h rd rs1 rs2 31..27=0x05 14..12=1 26..25=2 6..2=0x14 1..0=3
fcvt.h.s rd rs1 24..20=0 31..27=0x08 rm 26..25=2 6..2=0x14 1..0=3
fcvt.s.h rd rs1 24..20=2 31..27=0x08 rm 26..25=0 6..2=0x14 1..0=3
fsqrt.h rd rs1 24..20=0 31..27=0x0B rm 26..25=2 6..2=0x14 1..0=3
fcvt.h.s rd rs1 24..20=0 31..27=0x08 rm 26..25=2 6..2=0x14 1..0=3

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

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

fcvt.h.w rd rs1 24..20=0 31..27=0x1A rm 26..25=2 6..2=0x14 1..0=3
fcvt.h.wu rd rs1 24..20=1 31..27=0x1A rm 26..25=2 6..2=0x14 1..0=3
fmv.h.x rd rs1 24..20=0 31..27=0x1E 14..12=0 26..25=2 6..2=0x14 1..0=3

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

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

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

0 comments on commit c801c67

Please sign in to comment.