Displaying 2 results from an estimated 2 matches for "simm10".
Did you mean:
simm16
2016 Mar 18
2
Immediate operand for load instruction, in back end
...ROWD:$wd, (TyNode (OpNode Addr:$addrsrc)))];
InstrItinClass Itinerary = itin;
string DecoderMethod = "DecodeMSA128Mem";
}
class LD_D_DESC : LD_DESC_BASE<"ldvd", load, v32i16, MSA128DOpnd>;
I've tried to change mem_msa to hold only let MIOperandInfo = (ops simm10) but there
are problems it seems:
// MSA specific address operand
def mem_msa : mem_generic {
let MIOperandInfo = (ops ptr_rc, simm10);
let EncoderMethod = "getMSAMemEncoding";
}
Could you please tell me what is the simplest way to define in LD_DESC_BASE a $addrsrc
that is just...
2016 Mar 22
0
Immediate operand for load instruction, in back end
...). The relevant code for MIPS is in addMSAIntType() and addMSAFloatType() and makes the vector types legal by binding them to a register class and specifies how to handle each operation using setOperationAction().
> I've tried to change mem_msa to hold only let MIOperandInfo = (ops
> simm10) but there
It sounds like you're on the right track but there may be an easier way. Continuing on this track, I believe you will also need to change the addrimm10 mentioned in the argument list for LD_DESC_BASE. The one for MIPS will be matching the DAG using the selectIntAddrMSA() function wh...