Displaying 1 result from an estimated 1 matches for "t_imm_s4".
2012 Aug 23
0
[LLVMdev] % in tablegen
...re the %? I have
tried '\' character, and two "%%". None worked.
// ADD <Rd>, sp, #<imm8>
// This is rematerializable, which is particularly useful for taking the
// address of locals.
let isReMaterializable = 1 in
def tADDrSPi : T1I<(outs tGPR:$dst), (ins GPR:$sp, t_imm_s4:$rhs),
IIC_iALUi,
"add\t$dst, %prefix_$sp, $rhs", []>,
T1Encoding<{1,0,1,0,1,?}> {
// A6.2 & A8.6.8
bits<3> dst;
bits<8> rhs;
let Inst{10-8} = dst;
let Inst{7-0} = rhs;
}
- Khaled
-------------- next part ------------...