brintos

brintos / llvm-project-archived public Read only

0
0
Text · 5.3 KiB · da50b88 Raw
185 lines · plain
1# RUN: llvm-mc -triple=hexagon -mv65 -mhvx -filetype=obj %s | llvm-objdump --no-print-imm-hex --mcpu=hexagonv65 --mattr=+hvx -d - | FileCheck %s2 3// Warning: This file is auto generated by mktest.py.  Do not edit!4// Created on:  2016-06-01 @ 17:33:015// Created using:6//   /usr2/mlambert/Tags/iset.py.v65_201605137 8 9//   V6_vmpyuhe_acc10//   Vx32.uw+=vmpye(Vu32.uh,Rt32.uh)11     V0.uw+=vmpye(V0.uh,R0.uh)12# CHECK: 1980e060 { v0.uw += vmpye(v0.uh,r0.uh) }13 14//   V6_vgathermwq15//   if (Qs4) vtmp.w=vgather(Rt32,Mu2,Vv32.w).w16     if (Q0) vtmp.w=vgather(R0,M0,V0.w).w17# CHECK: 2f00c400 { if (q0) vtmp.w = vgather(r0,m0,v0.w).w }18 19//   V6_vscattermw20//   vscatter(Rt32,Mu2,Vv32.w).w=Vw3221     vscatter(R0,M0,V0.w).w=V022# CHECK: 2f20c000 { vscatter(r0,m0,v0.w).w = v0 }23 24//   V6_vscattermh25//   vscatter(Rt32,Mu2,Vv32.h).h=Vw3226     vscatter(R0,M0,V0.h).h=V027# CHECK: 2f20c020 { vscatter(r0,m0,v0.h).h = v0 }28 29//   V6_vlut430//   Vd32.h=vlut4(Vu32.uh,Rtt32.h)31     V0.h=vlut4(V0.uh,R1:0.h)32# CHECK: 1960c080 { v0.h = vlut4(v0.uh,r1:0.h) }33 34//   V6_vgathermhwq35//   if (Qs4) vtmp.h=vgather(Rt32,Mu2,Vvv32.w).h36     if (Q0) vtmp.h=vgather(R0,M0,V1:0.w).h37# CHECK: 2f00c600 { if (q0) vtmp.h = vgather(r0,m0,v1:0.w).h }38 39//   V6_vS32b_srls_ai40//   vmem(Rt32+#s4):scatter_release41     vmem(R0+#0):scatter_release42# CHECK: 2820c028 { vmem(r0+#0):scatter_release }43 44//   V6_vgathermh45//   vtmp.h=vgather(Rt32,Mu2,Vv32.h).h46     vtmp.h=vgather(R0,M0,V0.h).h47# CHECK: 2f00c100 { vtmp.h = vgather(r0,m0,v0.h).h }48 49//   V6_vscattermhw50//   vscatter(Rt32,Mu2,Vvv32.w).h=Vw3251     vscatter(R0,M0,V1:0.w).h=V052# CHECK: 2f20c040 { vscatter(r0,m0,v1:0.w).h = v0 }53 54//   V6_vS32b_srls_ppu55//   vmem(Rx32++Mu2):scatter_release56     vmem(R0++M0):scatter_release57# CHECK: 2b20c028 { vmem(r0++m0):scatter_release }58 59//   V6_vscattermhw_add60//   vscatter(Rt32,Mu2,Vvv32.w).h+=Vw3261     vscatter(R0,M0,V1:0.w).h+=V062# CHECK: 2f20c0c0 { vscatter(r0,m0,v1:0.w).h += v0 }63 64//   V6_vmpabuu65//   Vdd32.h=vmpa(Vuu32.ub,Rt32.ub)66     V1:0.h=vmpa(V1:0.ub,R0.ub)67# CHECK: 1960c060 { v1:0.h = vmpa(v1:0.ub,r0.ub) }68 69//   V6_vasruhubrndsat70//   Vd32.ub=vasr(Vu32.uh,Vv32.uh,Rt8):rnd:sat71     V0.ub=vasr(V0.uh,V0.uh,R0):rnd:sat72# CHECK: 1800c0e0 { v0.ub = vasr(v0.uh,v0.uh,r0):rnd:sat }73 74//   V6_vscattermh_add75//   vscatter(Rt32,Mu2,Vv32.h).h+=Vw3276     vscatter(R0,M0,V0.h).h+=V077# CHECK: 2f20c0a0 { vscatter(r0,m0,v0.h).h += v0 }78 79//   V6_vgathermw80//   vtmp.w=vgather(Rt32,Mu2,Vv32.w).w81     vtmp.w=vgather(R0,M0,V0.w).w82# CHECK: 2f00c000 { vtmp.w = vgather(r0,m0,v0.w).w }83 84//   V6_vasruhubsat85//   Vd32.ub=vasr(Vu32.uh,Vv32.uh,Rt8):sat86     V0.ub=vasr(V0.uh,V0.uh,R0):sat87# CHECK: 1800e0a0 { v0.ub = vasr(v0.uh,v0.uh,r0):sat }88 89//   V6_vscattermhwq90//   if (Qs4) vscatter(Rt32,Mu2,Vvv32.w).h=Vw3291     if (Q0) vscatter(R0,M0,V1:0.w).h=V092# CHECK: 2fa0c000 { if (q0) vscatter(r0,m0,v1:0.w).h = v0 }93 94//   V6_vgathermhq95//   if (Qs4) vtmp.h=vgather(Rt32,Mu2,Vv32.h).h96     if (Q0) vtmp.h=vgather(R0,M0,V0.h).h97# CHECK: 2f00c500 { if (q0) vtmp.h = vgather(r0,m0,v0.h).h }98 99//   V6_vmpsuhuhsat100//   Vx32.h=vmps(Vx32.h,Vu32.uh,Rtt32.uh):sat101     V0.h=vmps(V0.h,V0.uh,R1:0.uh):sat102# CHECK: 1980e0c0 { v0.h = vmps(v0.h,v0.uh,r1:0.uh):sat }103 104//   V6_vS32b_srls_pi105//   vmem(Rx32++#s3):scatter_release106     vmem(R0++#0):scatter_release107# CHECK: 2920c028 { vmem(r0++#0):scatter_release }108 109//   V6_vgathermhw110//   vtmp.h=vgather(Rt32,Mu2,Vvv32.w).h111     vtmp.h=vgather(R0,M0,V1:0.w).h112# CHECK: 2f00c200 { vtmp.h = vgather(r0,m0,v1:0.w).h }113 114//   V6_vmpyuhe115//   Vd32.uw=vmpye(Vu32.uh,Rt32.uh)116     V0.uw=vmpye(V0.uh,R0.uh)117# CHECK: 1960c040 { v0.uw = vmpye(v0.uh,r0.uh) }118 119//   V6_vscattermwq120//   if (Qs4) vscatter(Rt32,Mu2,Vv32.w).w=Vw32121     if (Q0) vscatter(R0,M0,V0.w).w=V0122# CHECK: 2f80c000 { if (q0) vscatter(r0,m0,v0.w).w = v0 }123 124//   V6_vasruwuhsat125//   Vd32.uh=vasr(Vu32.uw,Vv32.uw,Rt8):sat126     V0.uh=vasr(V0.uw,V0.uw,R0):sat127# CHECK: 1800e080 { v0.uh = vasr(v0.uw,v0.uw,r0):sat }128 129//   V6_vprefixqh130//   Vd32.h=prefixsum(Qv4)131     V0.h=prefixsum(Q0)132# CHECK: 1e03e140 { v0.h = prefixsum(q0) }133 134//   V6_vmpabuu_acc135//   Vxx32.h+=vmpa(Vuu32.ub,Rt32.ub)136     V1:0.h+=vmpa(V1:0.ub,R0.ub)137# CHECK: 19a0e080 { v1:0.h += vmpa(v1:0.ub,r0.ub) }138 139//   V6_vprefixqw140//   Vd32.w=prefixsum(Qv4)141     V0.w=prefixsum(Q0)142# CHECK: 1e03e240 { v0.w = prefixsum(q0) }143 144//   V6_vprefixqb145//   Vd32.b=prefixsum(Qv4)146     V0.b=prefixsum(Q0)147# CHECK: 1e03e040 { v0.b = prefixsum(q0) }148 149//   V6_vabsb150//   Vd32.b=vabs(Vu32.b)151     V0.b=vabs(V0.b)152# CHECK: 1e01c080 { v0.b = vabs(v0.b) }153 154//   V6_vscattermw_add155//   vscatter(Rt32,Mu2,Vv32.w).w+=Vw32156     vscatter(R0,M0,V0.w).w+=V0157# CHECK: 2f20c080 { vscatter(r0,m0,v0.w).w += v0 }158 159//   V6_vscattermhq160//   if (Qs4) vscatter(Rt32,Mu2,Vv32.h).h=Vw32161     if (Q0) vscatter(R0,M0,V0.h).h=V0162# CHECK: 2f80c080 { if (q0) vscatter(r0,m0,v0.h).h = v0 }163 164//   V6_vmpauhuhsat165//   Vx32.h=vmpa(Vx32.h,Vu32.uh,Rtt32.uh):sat166     V0.h=vmpa(V0.h,V0.uh,R1:0.uh):sat167# CHECK: 1980e0a0 { v0.h = vmpa(v0.h,v0.uh,r1:0.uh):sat }168 169//   V6_vabsb_sat170//   Vd32.b=vabs(Vu32.b):sat171     V0.b=vabs(V0.b):sat172# CHECK: 1e01c0a0 { v0.b = vabs(v0.b):sat }173 174v1:0.w+=vrmpy(v0.b, r1:0.ub)175# CHECK: 19a0e000 { v1:0.w += vrmpy(v0.b,r1:0.ub) }176 177V1:0.uw+=vrmpy(v0.ub,r1:0.ub)178# CHECK: 19a0e0e0 { v1:0.uw += vrmpy(v0.ub,r1:0.ub) }179 180v1:0.uw=vrmpy(v1.ub,r1:0.ub)181# CHECK: 19c0c180 { v1:0.uw = vrmpy(v1.ub,r1:0.ub) }182 183v1:0.w=vrmpy(v1.b,r1:0.ub)184# CHECK: 19c0c1a0 { v1:0.w = vrmpy(v1.b,r1:0.ub) }185