Displaying 1 result from an estimated 1 matches for "mymov".
Did you mean:
mymod
2014 Aug 05
2
[LLVMdev] Concerning not relevant argument count in TableGen Patterns.
...sic_name()/"
So I want to generate a move instruction which should use two register type
operands: "/mov R1, R2/"
For this purpose I assume that the instruction definition in the
TargetInstrInfo.td file should be like:
at first I am defining the class form my instruction:
*class Mymov<bits<6> op, string instr_asm>: FI<op, (outs Regs1:$rs),
(ins Regs2:$rt),
!strconcat(instr_asm, "\t$rt, $rs"),
[], NoItinerary> {
let imm16 = 0;
}*
where *Regs1* and *Regs2* are corresponding *RegisterClasses*.
Then I need to define the inst...