Displaying 1 result from an estimated 1 matches for "0b101010111".
2016 Dec 03
2
Immediate operand for vector instructions
...(ins i64imm:$imm);
string AsmString = "REPEAT_X_TIMES($imm";
list<dag> Pattern = [(int_repeat_x_times i64imm:$imm)];
InstrItinClass Itinerary = itin;
}
class REP_D_DESC : REP_1R_DESC_BASE;
class REP_D_ENC : MSA_I16_FMT<0b101010111>;
def REP_D: REP_D_ENC, REP_D_DESC;
and added in the LLVM program (programmatically, in an LLVM pass) an LLVM IR
repeat_x_times intrinsic.
To my big surprise (because of the property OperandType = "OPERAND_IMMEDIATE"), the
resulting ASM codegen'ed by the instr...