Skip to main content

RV64A

Constant RV64A 

Source
pub const RV64A: &str = "set = \"RV64A\" # 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        \"aqrl\",\n        2,\n        \"Mapping_ordering\",\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 = 27\n\n[[types.type-1-0]]\nname = \"aqrl\"\ntop = 1\nbot = 0\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 = 27\n\n[[types.type-2-0]]\nname = \"aqrl\"\ntop = 1\nbot = 0\n\n[[types.type-2-0]]\nname = \"none\"\ntop = 24\nbot = 20\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\", \"Mapping_ordering\"]\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_ordering = [\"\", \".rl\", \".aq\", \".aqrl\"]\n\n[format-1-0.repr]\ndefault = \"$name$%aqrl% %rd_Register_int%, %rs2_Register_int%, (%rs1_Register_int%)\"\n\n[format-2-0.repr]\ndefault = \"$name$%aqrl% %rd_Register_int%, (%rs1_Register_int%)\"\n\n[format-1-0.instructions.\"amoadd.d\"]\nmask = 0xf800707f\nmatch = 0x302f\n\n[format-1-0.instructions.\"amoadd.w\"]\nmask = 0xf800707f\nmatch = 0x202f\n\n[format-1-0.instructions.\"amoand.d\"]\nmask = 0xf800707f\nmatch = 0x6000302f\n\n[format-1-0.instructions.\"amoand.w\"]\nmask = 0xf800707f\nmatch = 0x6000202f\n\n[format-1-0.instructions.\"amomax.d\"]\nmask = 0xf800707f\nmatch = 0xa000302f\n\n[format-1-0.instructions.\"amomax.w\"]\nmask = 0xf800707f\nmatch = 0xa000202f\n\n[format-1-0.instructions.\"amomaxu.d\"]\nmask = 0xf800707f\nmatch = 0xe000302f\n\n[format-1-0.instructions.\"amomaxu.w\"]\nmask = 0xf800707f\nmatch = 0xe000202f\n\n[format-1-0.instructions.\"amomin.d\"]\nmask = 0xf800707f\nmatch = 0x8000302f\n\n[format-1-0.instructions.\"amomin.w\"]\nmask = 0xf800707f\nmatch = 0x8000202f\n\n[format-1-0.instructions.\"amominu.d\"]\nmask = 0xf800707f\nmatch = 0xc000302f\n\n[format-1-0.instructions.\"amominu.w\"]\nmask = 0xf800707f\nmatch = 0xc000202f\n\n[format-1-0.instructions.\"amoor.d\"]\nmask = 0xf800707f\nmatch = 0x4000302f\n\n[format-1-0.instructions.\"amoor.w\"]\nmask = 0xf800707f\nmatch = 0x4000202f\n\n[format-1-0.instructions.\"amoswap.d\"]\nmask = 0xf800707f\nmatch = 0x800302f\n\n[format-1-0.instructions.\"amoswap.w\"]\nmask = 0xf800707f\nmatch = 0x800202f\n\n[format-1-0.instructions.\"amoxor.d\"]\nmask = 0xf800707f\nmatch = 0x2000302f\n\n[format-1-0.instructions.\"amoxor.w\"]\nmask = 0xf800707f\nmatch = 0x2000202f\n\n[format-1-0.instructions.\"sc.d\"]\nmask = 0xf800707f\nmatch = 0x1800302f\n\n[format-1-0.instructions.\"sc.w\"]\nmask = 0xf800707f\nmatch = 0x1800202f\n\n[format-2-0.instructions.\"lr.d\"]\nmask = 0xf9f0707f\nmatch = 0x1000302f\n\n[format-2-0.instructions.\"lr.w\"]\nmask = 0xf9f0707f\nmatch = 0x1000202f\n";