Slide 32
Slide 32 text
EBCALUBase class
31
class EBCALUBase opcode, bit hasImmIdx, bit is64Bit,
bit Op1Indirect, bit Op2Indirect,
dag outs, dag ins, dag immins, dag idxins,
string opcodestr, string op1str, string op2str,
string immstr, string idxstr>
: EBCInst2Op {
bits<3> dst;
let CodeSize = !if(hasImmIdx, 4, 2);
let mayLoad = !if(Op2Indirect, 1, 0);
let mayStore = !if(Op1Indirect, 1, 0);
}