let Name = name;
let Namespace = "PPC32";
- let ClassPrefix = "PowerPC";
let Inst{0-5} = opcode;
}
field bits<32> Inst;
let Namespace = "V8";
- let ClassPrefix = "SparcV8";
bits<2> op;
let Inst{31-30} = op; // Top two bits are the 'op' field
field bits<32> Inst;
let Namespace = "V8";
- let ClassPrefix = "SparcV8";
bits<2> op;
let Inst{31-30} = op; // Top two bits are the 'op' field
field bits<32> Inst;
let Namespace = "V9";
- let ClassPrefix = "SparcV9";
bits<2> op;
let Inst{31-30} = op; // Top two bits are the 'op' field
class Instruction {
string Name = ""; // The opcode string for this instruction
string Namespace = "";
- string ClassPrefix = "";
dag OperandList; // An dag containing the MI operand list.
string AsmString = ""; // The .s format to print the instruction with.