Skip to main content

RV_Zba

Constant RV_Zba 

Source
pub const RV_Zba: &str = "set = \"RV64Zba\" # auto-generated, based on riscv-opcodes 5181d13bef845edfb511e3132a7e661090e3204b\nwidth = 32\n\n[formats]\nnames = [\"format_1-0\", \"format_2-0\"]\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        \"shamtd\",\n        6,\n        \"u8\",\n        \"hex\",\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 = [\"type_1-0\", \"type_2-0\"]\n[[types.type_1-0]]\nname = \"none\"\ntop = 31\nbot = 25\n\n[[types.type_1-0]]\nname = \"rs2_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type_1-0]]\nname = \"rs1_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type_1-0]]\nname = \"none\"\ntop = 14\nbot = 12\n\n[[types.type_1-0]]\nname = \"rd_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type_1-0]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[[types.type_2-0]]\nname = \"none\"\ntop = 31\nbot = 26\n\n[[types.type_2-0]]\nname = \"shamtd\"\ntop = 5\nbot = 0\n\n[[types.type_2-0]]\nname = \"rs1_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type_2-0]]\nname = \"none\"\ntop = 14\nbot = 12\n\n[[types.type_2-0]]\nname = \"rd_Register_int\"\ntop = 4\nbot = 0\n\n[[types.type_2-0]]\nname = \"none\"\ntop = 6\nbot = 0\n\n[format_1-0]\ntype = \"type_1-0\"\n\n[format_2-0]\ntype = \"type_2-0\"\n\n[mappings]\nnames = [\"Register_int\", \"Register_float\"]\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]\n\n[format_1-0.repr]\ndefault = \"$name$ %rd_Register_int%, %rs1_Register_int%, %rs2_Register_int%\"\n\n[format_2-0.repr]\ndefault = \"$name$ %rd_Register_int%, %rs1_Register_int%, %shamtd%\"\n\n[format_1-0.instructions.\"add.uw\"]\nmask = 0xfe00707f\nmatch = 0x800003b\n\n[format_1-0.instructions.sh1add]\nmask = 0xfe00707f\nmatch = 0x20002033\n\n[format_1-0.instructions.\"sh1add.uw\"]\nmask = 0xfe00707f\nmatch = 0x2000203b\n\n[format_1-0.instructions.sh2add]\nmask = 0xfe00707f\nmatch = 0x20004033\n\n[format_1-0.instructions.\"sh2add.uw\"]\nmask = 0xfe00707f\nmatch = 0x2000403b\n\n[format_1-0.instructions.sh3add]\nmask = 0xfe00707f\nmatch = 0x20006033\n\n[format_1-0.instructions.\"sh3add.uw\"]\nmask = 0xfe00707f\nmatch = 0x2000603b\n\n[format_2-0.instructions.\"slli.uw\"]\nmask = 0xfc00707f\nmatch = 0x800101b\n";