Home | History | Annotate | Download | only in CellSPU

Lines Matching full:rsrc

1123       "xsbh\t$rDst, $rSrc",
1127 XSBHInst<(outs rclass:$rDst), (ins rclass:$rSrc),
1131 def v16i8: XSBHInst<(outs VECREG:$rDst), (ins VECREG:$rSrc),
1133 /*(set (v8i16 VECREG:$rDst), (sext (v8i16 VECREG:$rSrc)))*/]>;
1134 def r8: XSBHInst<(outs R16C:$rDst), (ins R8C:$rSrc),
1135 [(set R16C:$rDst, (sext R8C:$rSrc))]>;
1137 [(set R16C:$rDst, (sext_inreg R16C:$rSrc, i8))]>;
1155 RRForm_1<0b01101101010, OOL, IOL, "xshw\t$rDest, $rSrc",
1159 XSHWInst<(outs VECREG:$rDest), (ins VECREG:$rSrc),
1161 (sext (in_vectype VECREG:$rSrc)))]>;
1164 XSHWInst<(outs rclass:$rDest), (ins rclass:$rSrc),
1168 XSHWInst<(outs rclass:$rDest), (ins R16C:$rSrc),
1169 [(set rclass:$rDest, (sext R16C:$rSrc))]>;
1177 [(set R32C:$rDest, (sext_inreg R32C:$rSrc, i16))]>;
1186 RRForm_1<0b01100101010, OOL, IOL, "xswd\t$rDst, $rSrc",
1190 XSWDInst<(outs VECREG:$rDst), (ins VECREG:$rSrc),
1192 (sext (out_vectype VECREG:$rSrc)))*/]>;
1195 XSWDInst<(outs out_rclass:$rDst), (ins in_rclass:$rSrc),
1196 [(set out_rclass:$rDst, (sext in_rclass:$rSrc))]>;
1202 def r64_inreg: XSWDInst<(outs R64C:$rDst), (ins R64C:$rSrc),
1203 [(set R64C:$rDst, (sext_inreg R64C:$rSrc, i32))]>;
4312 def : Pat<(sext_inreg R32C:$rSrc, i8),
4313 (XSHWr32 (XSBHr32 R32C:$rSrc))>;
4315 def : Pat<(i32 (sext R8C:$rSrc)),
4316 (XSHWr16 (XSBHr8 R8C:$rSrc))>;
4319 def : Pat<(sext_inreg R64C:$rSrc, i8),
4320 (XSWDr64_inreg (XSHWr64 (XSBHr64 R64C:$rSrc)))>;
4322 def : Pat<(i64 (sext R8C:$rSrc)),
4323 (XSWDr64 (XSHWr16 (XSBHr8 R8C:$rSrc)))>;
4326 def : Pat<(i16 (zext R8C:$rSrc)),
4327 (ANDHIi8i16 R8C:$rSrc, 0xff)>;
4330 def : Pat<(i32 (zext R8C:$rSrc)),
4331 (ANDIi8i32 R8C:$rSrc, 0xff)>;
4334 def : Pat<(i64 (zext R8C:$rSrc)),
4337 (ANDIi8i32 R8C:$rSrc,0xff), VECREG),
4343 def : Pat<(i16 (anyext R8C:$rSrc)),
4344 (ORHIi8i16 R8C:$rSrc, 0)>;
4347 def : Pat<(i32 (anyext R8C:$rSrc)),
4348 (COPY_TO_REGCLASS R8C:$rSrc, R32C)>;
4351 def : Pat<(sext_inreg R64C:$rSrc, i16),
4352 (XSWDr64_inreg (XSHWr64 R64C:$rSrc))>;
4354 def : Pat<(sext R16C:$rSrc),
4355 (XSWDr64 (XSHWr16 R16C:$rSrc))>;
4358 def : Pat<(i32 (zext R16C:$rSrc)),
4359 (ANDi16i32 R16C:$rSrc, (ILAr32 0xffff))>;
4361 def : Pat<(i32 (zext (and R16C:$rSrc, 0xf))),
4362 (ANDIi16i32 R16C:$rSrc, 0xf)>;
4364 def : Pat<(i32 (zext (and R16C:$rSrc, 0xff))),
4365 (ANDIi16i32 R16C:$rSrc, 0xff)>;
4367 def : Pat<(i32 (zext (and R16C:$rSrc, 0xfff))),
4368 (ANDIi16i32 R16C:$rSrc, 0xfff)>;
4371 def : Pat<(i32 (anyext R16C:$rSrc)),
4372 (COPY_TO_REGCLASS R16C:$rSrc, R32C)>;