Skip to main content

RV_Zfh

Constant RV_Zfh 

Source
pub const RV_Zfh: &str = "set = \"RV64Zfh\" # auto-generated, based on riscv-opcodes 5181d13bef845edfb511e3132a7e661090e3204b\nwidth = 32\n\n[formats]\nnames = [\n    \"format-1-7\",\n    \"format-2-1\",\n    \"format-2-2\",\n    \"format-3-1\",\n    \"format-3-2\",\n    \"format-3-3\",\n    \"format-4-3\",\n    \"format-4-7\",\n    \"format-5-0\",\n    \"format-6-15\",\n    \"format-7-0\",\n]\nparts = [\n    [\n        \"rd_Register_int\",\n        5,\n        \"Register_int\",\n    ],\n    [\n        \"rd_Register_float\",\n        5,\n        \"Register_float\",\n    ],\n    [\n        \"rs1_Register_int\",\n        5,\n        \"Register_int\",\n    ],\n    [\n        \"rs1_Register_float\",\n        5,\n        \"Register_float\",\n    ],\n    [\n        \"rs2_Register_int\",\n        5,\n        \"Register_int\",\n    ],\n    [\n        \"rs2_Register_float\",\n        5,\n        \"Register_float\",\n    ],\n    [\n        \"rm\",\n        3,\n        \"Mapping_round\",\n    ],\n    [\n        \"rs3_Register_int\",\n        5,\n        \"Register_int\",\n    ],\n    [\n        \"rs3_Register_float\",\n        5,\n        \"Register_float\",\n    ],\n    [\n        \"none\",\n        32,\n        \"u32\",\n    ],\n    [\n        \"imm\",\n        32,\n        \"VInt\",\n    ],\n    [\n        \"himm\",\n        32,\n        \"VInt\",\n        \"hex\",\n    ],\n]\n\n[types]\nnames = [\n    \"type-1-7\",\n    \"type-2-1\",\n    \"type-2-2\",\n    \"type-3-1\",\n    \"type-3-2\",\n    \"type-3-3\",\n    \"type-4-3\",\n    \"type-4-7\",\n    \"type-5-0\",\n    \"type-6-15\",\n    \"type-7-0\",\n]\n[[types.type-1-7]]\nname = \"none\"\ntop = 31\nbot = 25\n\n[[types.type-1-7]]\nname = \"rs2_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-1-7]]\nname = \"rs1_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-1-7]]\nname = \"rm\"\ntop = 2\nbot = 0\n\n[[types.type-1-7]]\nname = \"rd_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-1-7]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-2-1]]\nname = \"none\"\ntop = 31\nbot = 20\n\n[[types.type-2-1]]\nname = \"rs1_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-2-1]]\nname = \"none\"\ntop = 14\nbot = 12\n\n[[types.type-2-1]]\nname = \"rd_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type-2-1]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-2-2]]\nname = \"none\"\ntop = 31\nbot = 20\n\n[[types.type-2-2]]\nname = \"rs1_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type-2-2]]\nname = \"none\"\ntop = 14\nbot = 12\n\n[[types.type-2-2]]\nname = \"rd_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-2-2]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-3-1]]\nname = \"none\"\ntop = 31\nbot = 20\n\n[[types.type-3-1]]\nname = \"rs1_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-3-1]]\nname = \"rm\"\ntop = 2\nbot = 0\n\n[[types.type-3-1]]\nname = \"rd_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type-3-1]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-3-2]]\nname = \"none\"\ntop = 31\nbot = 20\n\n[[types.type-3-2]]\nname = \"rs1_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type-3-2]]\nname = \"rm\"\ntop = 2\nbot = 0\n\n[[types.type-3-2]]\nname = \"rd_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-3-2]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-3-3]]\nname = \"none\"\ntop = 31\nbot = 20\n\n[[types.type-3-3]]\nname = \"rs1_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-3-3]]\nname = \"rm\"\ntop = 2\nbot = 0\n\n[[types.type-3-3]]\nname = \"rd_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-3-3]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-4-3]]\nname = \"none\"\ntop = 31\nbot = 25\n\n[[types.type-4-3]]\nname = \"rs2_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-4-3]]\nname = \"rs1_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-4-3]]\nname = \"none\"\ntop = 14\nbot = 12\n\n[[types.type-4-3]]\nname = \"rd_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type-4-3]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-4-7]]\nname = \"none\"\ntop = 31\nbot = 25\n\n[[types.type-4-7]]\nname = \"rs2_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-4-7]]\nname = \"rs1_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-4-7]]\nname = \"none\"\ntop = 14\nbot = 12\n\n[[types.type-4-7]]\nname = \"rd_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-4-7]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-5-0]]\nname = \"himm\"\ntop = 11\nbot = 0\n\n[[types.type-5-0]]\nname = \"rs1_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type-5-0]]\nname = \"none\"\ntop = 14\nbot = 12\n\n[[types.type-5-0]]\nname = \"rd_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-5-0]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-6-15]]\nname = \"rs3_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-6-15]]\nname = \"none\"\ntop = 26\nbot = 25\n\n[[types.type-6-15]]\nname = \"rs2_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-6-15]]\nname = \"rs1_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-6-15]]\nname = \"rm\"\ntop = 2\nbot = 0\n\n[[types.type-6-15]]\nname = \"rd_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-6-15]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type-7-0]]\nname = \"himm\"\ntop = 11\nbot = 5\n\n[[types.type-7-0]]\nname = \"rs2_Register_float\"\ntop = 4\nbot = 0\n\n[[types.type-7-0]]\nname = \"rs1_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type-7-0]]\nname = \"none\"\ntop = 14\nbot = 12\n\n[[types.type-7-0]]\nname = \"himm\"\ntop = 4\nbot = 0\n\n[[types.type-7-0]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[format-1-7]\ntype = \"type-1-7\"\n\n[format-2-1]\ntype = \"type-2-1\"\n\n[format-2-2]\ntype = \"type-2-2\"\n\n[format-3-1]\ntype = \"type-3-1\"\n\n[format-3-2]\ntype = \"type-3-2\"\n\n[format-3-3]\ntype = \"type-3-3\"\n\n[format-4-3]\ntype = \"type-4-3\"\n\n[format-4-7]\ntype = \"type-4-7\"\n\n[format-5-0]\ntype = \"type-5-0\"\n\n[format-6-15]\ntype = \"type-6-15\"\n\n[format-7-0]\ntype = \"type-7-0\"\n\n[mappings]\nnames = [\"Register_int\", \"Register_float\", \"Mapping_round\"]\nnumber = 32\nRegister_int = [\n    \"zero\",\n    \"ra\",\n    \"sp\",\n    \"gp\",\n    \"tp\",\n    \"t0\",\n    \"t1\",\n    \"t2\",\n    \"s0\",\n    \"s1\",\n    \"a0\",\n    \"a1\",\n    \"a2\",\n    \"a3\",\n    \"a4\",\n    \"a5\",\n    \"a6\",\n    \"a7\",\n    \"s2\",\n    \"s3\",\n    \"s4\",\n    \"s5\",\n    \"s6\",\n    \"s7\",\n    \"s8\",\n    \"s9\",\n    \"s10\",\n    \"s11\",\n    \"t3\",\n    \"t4\",\n    \"t5\",\n    \"t6\",\n]\nRegister_float = [\n    \"ft0\",\n    \"ft1\",\n    \"ft2\",\n    \"ft3\",\n    \"ft4\",\n    \"ft5\",\n    \"ft6\",\n    \"ft7\",\n    \"fs0\",\n    \"fs1\",\n    \"fa0\",\n    \"fa1\",\n    \"fa2\",\n    \"fa3\",\n    \"fa4\",\n    \"fa5\",\n    \"fa6\",\n    \"fa7\",\n    \"fs2\",\n    \"fs3\",\n    \"fs4\",\n    \"fs5\",\n    \"fs6\",\n    \"fs7\",\n    \"fs8\",\n    \"fs9\",\n    \"fs10\",\n    \"fs11\",\n    \"ft8\",\n    \"ft9\",\n    \"ft10\",\n    \"ft11\",\n]\nMapping_round = [\"rne\", \"rtz\", \"rdn\", \"rup\", \"rmm\", \"unknown\", \"unknown\", \"dyn\"]\n\n[format-1-7.repr]\ndefault = \"$name$ %rd_Register_float%, %rs1_Register_float%, %rs2_Register_float%, %rm%\"\n\n[format-2-1.repr]\ndefault = \"$name$ %rd_Register_int%, %rs1_Register_float%\"\n\n[format-2-2.repr]\ndefault = \"$name$ %rd_Register_float%, %rs1_Register_int%\"\n\n[format-3-1.repr]\ndefault = \"$name$ %rd_Register_int%, %rs1_Register_float%, %rm%\"\n\n[format-3-2.repr]\ndefault = \"$name$ %rd_Register_float%, %rs1_Register_int%, %rm%\"\n\n[format-3-3.repr]\ndefault = \"$name$ %rd_Register_float%, %rs1_Register_float%, %rm%\"\n\n[format-4-3.repr]\ndefault = \"$name$ %rd_Register_int%, %rs1_Register_float%, %rs2_Register_float%\"\n\n[format-4-7.repr]\ndefault = \"$name$ %rd_Register_float%, %rs1_Register_float%, %rs2_Register_float%\"\n\n[format-5-0.repr]\ndefault = \"$name$ %rd_Register_float%, %himm%(%rs1_Register_int%)\"\n\n[format-6-15.repr]\ndefault = \"$name$ %rd_Register_float%, %rs1_Register_float%, %rs2_Register_float%, %rs3_Register_float%, %rm%\"\n\n[format-7-0.repr]\ndefault = \"$name$ %rs2_Register_float%, %himm%(%rs1_Register_int%)\"\n\n[format-1-7.instructions.\"fadd.h\"]\nmask = 0xfe00007f\nmatch = 0x4000053\n\n[format-1-7.instructions.\"fdiv.h\"]\nmask = 0xfe00007f\nmatch = 0x1c000053\n\n[format-1-7.instructions.\"fmul.h\"]\nmask = 0xfe00007f\nmatch = 0x14000053\n\n[format-1-7.instructions.\"fsub.h\"]\nmask = 0xfe00007f\nmatch = 0xc000053\n\n[format-2-1.instructions.\"fclass.h\"]\nmask = 0xfff0707f\nmatch = 0xe4001053\n\n[format-2-1.instructions.\"fmv.x.h\"]\nmask = 0xfff0707f\nmatch = 0xe4000053\n\n[format-2-2.instructions.\"fmv.h.x\"]\nmask = 0xfff0707f\nmatch = 0xf4000053\n\n[format-3-1.instructions.\"fcvt.l.h\"]\nmask = 0xfff0007f\nmatch = 0xc4200053\n\n[format-3-1.instructions.\"fcvt.lu.h\"]\nmask = 0xfff0007f\nmatch = 0xc4300053\n\n[format-3-1.instructions.\"fcvt.w.h\"]\nmask = 0xfff0007f\nmatch = 0xc4000053\n\n[format-3-1.instructions.\"fcvt.wu.h\"]\nmask = 0xfff0007f\nmatch = 0xc4100053\n\n[format-3-2.instructions.\"fcvt.h.l\"]\nmask = 0xfff0007f\nmatch = 0xd4200053\n\n[format-3-2.instructions.\"fcvt.h.lu\"]\nmask = 0xfff0007f\nmatch = 0xd4300053\n\n[format-3-2.instructions.\"fcvt.h.w\"]\nmask = 0xfff0007f\nmatch = 0xd4000053\n\n[format-3-2.instructions.\"fcvt.h.wu\"]\nmask = 0xfff0007f\nmatch = 0xd4100053\n\n[format-3-3.instructions.\"fcvt.h.s\"]\nmask = 0xfff0007f\nmatch = 0x44000053\n\n[format-3-3.instructions.\"fcvt.s.h\"]\nmask = 0xfff0007f\nmatch = 0x40200053\n\n[format-3-3.instructions.\"fsqrt.h\"]\nmask = 0xfff0007f\nmatch = 0x5c000053\n\n[format-4-3.instructions.\"feq.h\"]\nmask = 0xfe00707f\nmatch = 0xa4002053\n\n[format-4-3.instructions.\"fle.h\"]\nmask = 0xfe00707f\nmatch = 0xa4000053\n\n[format-4-3.instructions.\"flt.h\"]\nmask = 0xfe00707f\nmatch = 0xa4001053\n\n[format-4-7.instructions.\"fmax.h\"]\nmask = 0xfe00707f\nmatch = 0x2c001053\n\n[format-4-7.instructions.\"fmin.h\"]\nmask = 0xfe00707f\nmatch = 0x2c000053\n\n[format-4-7.instructions.\"fsgnj.h\"]\nmask = 0xfe00707f\nmatch = 0x24000053\n\n[format-4-7.instructions.\"fsgnjn.h\"]\nmask = 0xfe00707f\nmatch = 0x24001053\n\n[format-4-7.instructions.\"fsgnjx.h\"]\nmask = 0xfe00707f\nmatch = 0x24002053\n\n[format-5-0.instructions.flh]\nmask = 0x707f\nmatch = 0x1007\n\n[format-6-15.instructions.\"fmadd.h\"]\nmask = 0x600007f\nmatch = 0x4000043\n\n[format-6-15.instructions.\"fmsub.h\"]\nmask = 0x600007f\nmatch = 0x4000047\n\n[format-6-15.instructions.\"fnmadd.h\"]\nmask = 0x600007f\nmatch = 0x400004f\n\n[format-6-15.instructions.\"fnmsub.h\"]\nmask = 0x600007f\nmatch = 0x400004b\n\n[format-7-0.instructions.fsh]\nmask = 0x707f\nmatch = 0x1027\n";