search for: u8imm

Displaying 2 results from an estimated 2 matches for "u8imm".

Did you mean: i8imm
2017 Dec 18
3
Immediates in intrinsics
I'm trying to add intrinsics for the Signal Processing Engine (FPU/vector unit) on some PowerPC cores, but running into a problem. Some of the instructions take an immediate operand, but I can't figure out how to make the intrinsic use an immediate, it just wants to load a register as an argument to the function. Is there any way in the .td file to describe the intrinsic as taking an
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...src3))))], >> "$src2 = $dst">, >> Requires<[HasV4T]>; >> >> @@ -2745,8 +4343,9 @@ def ADDr_MPYrr_V4 : MInst_acc<(outs IntRegs:$dst), >> def ADDi_ASLri_V4 : MInst_acc<(outs IntRegs:$dst), >> (ins u8Imm:$src1, IntRegs:$src2, u5Imm:$src3), >> "$dst = add(#$src1, asl($src2, #$src3))", >> - [(set IntRegs:$dst, >> - (add (shl IntRegs:$src2, u5ImmPred:$src3), u8ImmPred:$src1))], >> + [(set (i32 IntRegs:$dst), >> +...