Skip to main content

RV64D

Constant RV64D 

Source
pub const RV64D: &str = "set = \"RV64D\" # 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 = \"imm\"\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 = \"imm\"\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 = \"imm\"\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%, %imm%(%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%, %imm%(%rs1_Register_int%)\"\n\n[format-1-7.instructions.\"fadd.d\"]\nmask = 0xfe00007f\nmatch = 0x2000053\n\n[format-1-7.instructions.\"fdiv.d\"]\nmask = 0xfe00007f\nmatch = 0x1a000053\n\n[format-1-7.instructions.\"fmul.d\"]\nmask = 0xfe00007f\nmatch = 0x12000053\n\n[format-1-7.instructions.\"fsub.d\"]\nmask = 0xfe00007f\nmatch = 0xa000053\n\n[format-2-1.instructions.\"fclass.d\"]\nmask = 0xfff0707f\nmatch = 0xe2001053\n\n[format-2-1.instructions.\"fmv.x.d\"]\nmask = 0xfff0707f\nmatch = 0xe2000053\n\n[format-2-2.instructions.\"fmv.d.x\"]\nmask = 0xfff0707f\nmatch = 0xf2000053\n\n[format-3-1.instructions.\"fcvt.l.d\"]\nmask = 0xfff0007f\nmatch = 0xc2200053\n\n[format-3-1.instructions.\"fcvt.lu.d\"]\nmask = 0xfff0007f\nmatch = 0xc2300053\n\n[format-3-1.instructions.\"fcvt.w.d\"]\nmask = 0xfff0007f\nmatch = 0xc2000053\n\n[format-3-1.instructions.\"fcvt.wu.d\"]\nmask = 0xfff0007f\nmatch = 0xc2100053\n\n[format-3-2.instructions.\"fcvt.d.l\"]\nmask = 0xfff0007f\nmatch = 0xd2200053\n\n[format-3-2.instructions.\"fcvt.d.lu\"]\nmask = 0xfff0007f\nmatch = 0xd2300053\n\n[format-3-2.instructions.\"fcvt.d.w\"]\nmask = 0xfff0007f\nmatch = 0xd2000053\n\n[format-3-2.instructions.\"fcvt.d.wu\"]\nmask = 0xfff0007f\nmatch = 0xd2100053\n\n[format-3-3.instructions.\"fcvt.d.s\"]\nmask = 0xfff0007f\nmatch = 0x42000053\n\n[format-3-3.instructions.\"fcvt.s.d\"]\nmask = 0xfff0007f\nmatch = 0x40100053\n\n[format-3-3.instructions.\"fsqrt.d\"]\nmask = 0xfff0007f\nmatch = 0x5a000053\n\n[format-4-3.instructions.\"feq.d\"]\nmask = 0xfe00707f\nmatch = 0xa2002053\n\n[format-4-3.instructions.\"fle.d\"]\nmask = 0xfe00707f\nmatch = 0xa2000053\n\n[format-4-3.instructions.\"flt.d\"]\nmask = 0xfe00707f\nmatch = 0xa2001053\n\n[format-4-7.instructions.\"fmax.d\"]\nmask = 0xfe00707f\nmatch = 0x2a001053\n\n[format-4-7.instructions.\"fmin.d\"]\nmask = 0xfe00707f\nmatch = 0x2a000053\n\n[format-4-7.instructions.\"fsgnj.d\"]\nmask = 0xfe00707f\nmatch = 0x22000053\n\n[format-4-7.instructions.\"fsgnjn.d\"]\nmask = 0xfe00707f\nmatch = 0x22001053\n\n[format-4-7.instructions.\"fsgnjx.d\"]\nmask = 0xfe00707f\nmatch = 0x22002053\n\n[format-5-0.instructions.fld]\nmask = 0x707f\nmatch = 0x3007\n\n[format-6-15.instructions.\"fmadd.d\"]\nmask = 0x600007f\nmatch = 0x2000043\n\n[format-6-15.instructions.\"fmsub.d\"]\nmask = 0x600007f\nmatch = 0x2000047\n\n[format-6-15.instructions.\"fnmadd.d\"]\nmask = 0x600007f\nmatch = 0x200004f\n\n[format-6-15.instructions.\"fnmsub.d\"]\nmask = 0x600007f\nmatch = 0x200004b\n\n[format-7-0.instructions.fsd]\nmask = 0x707f\nmatch = 0x3027\n";