1 #RUN: llvm-mc -triple=hexagon -mcpu=hexagonv60 -filetype=obj -mhvx %s | \
2 #RUN: llvm-objdump -triple=hexagon -mcpu=hexagonv60 -mhvx -d - | \
5 #CHECK: 1939c223 { v3.w = vdmpy(v3:2.h,{{ *}}r25.uh,{{ *}}#1):sat }
6 v3.w
=vdmpy
(v3
:2.h,r25.uh,#1):sat
8 #CHECK: 1936de0d { v13.w = vdmpy(v30.h,{{ *}}r22.uh):sat }
9 v13.w
=vdmpy
(v30.h
,r22.uh
):sat
11 #CHECK: 1919ccea { v11:10.h = vdmpy(v13:12.ub,{{ *}}r25.b) }
12 v11
:10.h=vdmpy(v13:12.ub,r25.b)
14 #CHECK: 1918ced6 { v22.h = vdmpy(v14.ub,{{ *}}r24.b) }
15 v22.h
=vdmpy
(v14.ub
,r24.
b)
17 #CHECK: 1911deba { v27:26.uw = vdsad(v31:30.uh,{{ *}}r17.uh) }
18 v27
:26.uw=vdsad(v31:30.uh,r17.uh)
20 #CHECK: 1908da97 { v23.w = vrmpy(v26.ub,{{ *}}r8.b) }
21 v23.w
=vrmpy
(v26.ub
,r8.
b)
23 #CHECK: 1915c974 { v20.uw = vrmpy(v9.ub,{{ *}}r21.ub) }
24 v20.uw
=vrmpy
(v9.ub
,r21.ub
)
26 #CHECK: 190dd446 { v6.w = vdmpy(v20.h,{{ *}}r13.b) }
27 v6.w
=vdmpy
(v20.h
,r13.
b)
29 #CHECK: 190ec030 { v17:16.h = vtmpy(v1:0.ub,{{ *}}r14.b) }
30 v17
:16.h=vtmpy(v1:0.ub,r14.b)
32 #CHECK: 1918de1c { v29:28.h = vtmpy(v31:30.b,{{ *}}r24.b) }
33 v29
:28.h=vtmpy(v31:30.b,r24.b)
35 #CHECK: 198dddf1 { v17.w = vmpyi(v29.w,{{ *}}r13.h) }
36 v17.w
=vmpyi
(v29.w
,r13.h
)
38 #CHECK: 19bccb13 { v19.w = vmpyi(v11.w,{{ *}}r28.b) }
39 v19.w
=vmpyi
(v11.w
,r28.
b)
41 #CHECK: 19c8cb0a { v11:10.uh = vmpy(v11.ub,{{ *}}r8.ub) }
42 v11
:10.uh=vmpy(v11.ub,r8.ub)
44 #CHECK: 1973d012 { v18.h = vmpyi(v16.h,{{ *}}r19.b) }
45 v18.h
=vmpyi
(v16.h
,r19.
b)
47 #CHECK: 1922d1aa { v11:10.h = vmpy(v17.ub,{{ *}}r2.b) }
48 v11
:10.h=vmpy(v17.ub,r2.b)
50 #CHECK: 1936ce9c { v29:28.w = vdmpy(v15:14.h,{{ *}}r22.b) }
51 v29
:28.w=vdmpy(v15:14.h,r22.b)
53 #CHECK: 1925d86b { v11.w = vdmpy(v25:24.h,{{ *}}r5.h):sat }
54 v11.w
=vdmpy
(v25
:24.h,r5.h):sat
56 #CHECK: 1925c255 { v21.w = vdmpy(v2.h,{{ *}}r5.h):sat }
57 v21.w
=vdmpy
(v2.h
,r5.h
):sat
59 #CHECK: 1941d424 { v4.h = vmpy(v20.h,{{ *}}r1.h):<<1:sat }
60 v4.h
=vmpy
(v20.h
,r1.h
):<<1:sat
62 #CHECK: 1943cf0a { v11:10.w = vmpy(v15.h,{{ *}}r3.h) }
63 v11
:10.w=vmpy(v15.h,r3.h)
65 #CHECK: 193ec2f0 { v17:16.w = vmpa(v3:2.h,{{ *}}r30.b) }
66 v17
:16.w=vmpa(v3:2.h,r30.b)
68 #CHECK: 193ddcde { v31:30.h = vmpa(v29:28.ub,{{ *}}r29.b) }
69 v31
:30.h=vmpa(v29:28.ub,r29.b)
71 #CHECK: 1946de76 { v23:22.uw = vmpy(v30.uh,{{ *}}r6.uh) }
72 v23
:22.uw=vmpy(v30.uh,r6.uh)
74 #CHECK: 1945c945 { v5.h = vmpy(v9.h,{{ *}}r5.h):<<1:rnd:sat }
75 v5.h
=vmpy
(v9.h
,r5.h
):<<1:rnd
:sat
77 #CHECK: 19b0c280 { v1:0.w = vtmpy(v3:2.h,{{ *}}r16.b) }
78 v1
:0.w=vtmpy(v3:2.h,r16.b)
80 #CHECK: 1c34d937 { v23.h = vmpy(v25.h,{{ *}}v20.h):<<1:rnd:sat }
81 v23.h
=vmpy
(v25.h
,v20.h
):<<1:rnd
:sat
83 #CHECK: 1c36c90a { v11:10.uw = vmpy(v9.uh,{{ *}}v22.uh) }
84 v11
:10.uw=vmpy(v9.uh,v22.uh)
86 #CHECK: 1c09c3ec { v13:12.w = vmpy(v3.h,{{ *}}v9.h) }
87 v13
:12.w=vmpy(v3.h,v9.h)
89 #CHECK: 1c0dd1d8 { v25:24.h = vmpy(v17.ub,{{ *}}v13.b) }
90 v25
:24.h=vmpy(v17.ub,v13.b)
92 #CHECK: 1c0dc0a4 { v5:4.uh = vmpy(v0.ub,{{ *}}v13.ub) }
93 v5
:4.uh=vmpy(v0.ub,v13.ub)
95 #CHECK: 1c14df84 { v5:4.h = vmpy(v31.b,{{ *}}v20.b) }
96 v5
:4.h=vmpy(v31.b,v20.b)
98 #CHECK: 1c16d77c { v28.w = vdmpy(v23.h,{{ *}}v22.h):sat }
99 v28.w
=vdmpy
(v23.h
,v22.h
):sat
101 #CHECK: 1c08d84f { v15.w = vrmpy(v24.ub,{{ *}}v8.b) }
102 v15.w
=vrmpy
(v24.ub
,v8.
b)
104 #CHECK: 1c06da29 { v9.w = vrmpy(v26.b,{{ *}}v6.b) }
105 v9.w
=vrmpy
(v26.
b,v6.
b)
107 #CHECK: 1c1ac805 { v5.uw = vrmpy(v8.ub,{{ *}}v26.ub) }
108 v5.uw
=vrmpy
(v8.ub
,v26.ub
)
110 #CHECK: 1c39d089 { v9.h = vmpyi(v16.h,{{ *}}v25.h) }
111 v9.h
=vmpyi
(v16.h
,v25.h
)
113 #CHECK: 1c3ecc64 { v5:4.h = vmpa(v13:12.ub,{{ *}}v31:30.b) }
114 v5
:4.h=vmpa(v13:12.ub,v31:30.b)
116 #CHECK: 1c21ce54 { v21:20.w = vmpy(v14.h,{{ *}}v1.uh) }
117 v21
:20.w=vmpy(v14.h,v1.uh)
119 #CHECK: 1cf2c6f0 { v17:16.h = vmpa(v7:6.ub,{{ *}}v19:18.ub) }
120 v17
:16.h=vmpa(v7:6.ub,v19:18.ub)
122 #CHECK: 1fcdc82b { v11.w = vmpyio(v8.w{{ *}},{{ *}}v13.h) }
123 v11.w
=vmpyio
(v8.w
,v13.h
)
125 #CHECK: 1fdeda10 { v16.w = vmpyie(v26.w{{ *}},{{ *}}v30.uh) }
126 v16.w
=vmpyie
(v26.w
,v30.uh
)
128 #CHECK: 1ff2c2a6 { v6.w = vmpye(v2.w{{ *}},{{ *}}v18.uh) }
129 v6.w
=vmpye
(v2.w
,v18.uh
)
131 #CHECK: 1ff7cbfa { v26.w = vmpyo(v11.w{{ *}},{{ *}}v23.h):<<1:sat }
132 v26.w
=vmpyo
(v11.w
,v23.h
):<<1:sat
134 #CHECK: 1f5cd411 { v17.w = vmpyo(v20.w{{ *}},{{ *}}v28.h):<<1:rnd:sat }
135 v17.w
=vmpyo
(v20.w
,v28.h
):<<1:rnd
:sat
137 #CHECK: 1f71cf1d { v29.w = vmpyieo(v15.h{{ *}},{{ *}}v17.h) }
138 v29.w
=vmpyieo
(v15.h
,v17.h
)