1#RUN: llvm-mc -triple=hexagon -mcpu=hexagonv60 -filetype=obj %s | \
2#RUN: llvm-objdump -triple=hexagon -mcpu=hexagonv60 -d - | \
3#RUN: FileCheck %s
4
5#CHECK: 1936ee37 { v23.w += vdmpy(v15:14.h,r22.uh,#1):sat }
6v23.w += vdmpy(v15:14.h,r22.uh,#1):sat
7
8#CHECK: 193bf90f { v15.w += vdmpy(v25.h,r27.uh):sat }
9v15.w += vdmpy(v25.h,r27.uh):sat
10
11#CHECK: 1902fcf0 { v17:16.h += vdmpy(v29:28.ub,r2.b) }
12v17:16.h += vdmpy(v29:28.ub,r2.b)
13
14#CHECK: 190cffd1 { v17.h += vdmpy(v31.ub,r12.b) }
15v17.h += vdmpy(v31.ub,r12.b)
16
17#CHECK: 1900f5ac { v12.w += vrmpy(v21.ub,r0.b) }
18v12.w += vrmpy(v21.ub,r0.b)
19
20#CHECK: 1905fb86 { v6.uw += vrmpy(v27.ub,r5.ub) }
21v6.uw += vrmpy(v27.ub,r5.ub)
22
23#CHECK: 191de570 { v16.w += vdmpy(v5.h,r29.b) }
24v16.w += vdmpy(v5.h,r29.b)
25
26#CHECK: 191de846 { v7:6.w += vtmpy(v9:8.h,r29.b) }
27v7:6.w += vtmpy(v9:8.h,r29.b)
28
29#CHECK: 190bfa22 { v3:2.h += vtmpy(v27:26.ub,r11.b) }
30v3:2.h += vtmpy(v27:26.ub,r11.b)
31
32#CHECK: 1915e408 { v9:8.h += vtmpy(v5:4.b,r21.b) }
33v9:8.h += vtmpy(v5:4.b,r21.b)
34
35#CHECK: 1987f71e { v31:30.uh += vmpy(v23.ub,r7.ub) }
36v31:30.uh += vmpy(v23.ub,r7.ub)
37
38#CHECK: 1969ff47 { v7.w += vasl(v31.w,r9) }
39v7.w += vasl(v31.w,r9)
40
41#CHECK: 196de3b0 { v16.w += vasr(v3.w,r13) }
42v16.w += vasr(v3.w,r13)
43
44#CHECK: 1977fe0a { v11:10.uw += vdsad(v31:30.uh,r23.uh) }
45v11:10.uw += vdsad(v31:30.uh,r23.uh)
46
47#CHECK: 196eee36 { v22.h += vmpyi(v14.h,r14.b) }
48v22.h += vmpyi(v14.h,r14.b)
49
50#CHECK: 1931faac { v13:12.h += vmpy(v26.ub,r17.b) }
51v13:12.h += vmpy(v26.ub,r17.b)
52
53#CHECK: 193cfc94 { v21:20.w += vdmpy(v29:28.h,r28.b) }
54v21:20.w += vdmpy(v29:28.h,r28.b)
55
56#CHECK: 1934fc62 { v2.w += vdmpy(v28.h,r20.h):sat }
57v2.w += vdmpy(v28.h,r20.h):sat
58
59#CHECK: 1925fe5f { v31.w += vdmpy(v31:30.h,r5.h):sat }
60v31.w += vdmpy(v31:30.h,r5.h):sat
61
62#CHECK: 194efe36 { v23:22.uw += vmpy(v30.uh,r14.uh) }
63v23:22.uw += vmpy(v30.uh,r14.uh)
64
65#CHECK: 1948e306 { v7:6.w += vmpy(v3.h,r8.h):sat }
66v7:6.w += vmpy(v3.h,r8.h):sat
67
68#CHECK: 192af2f8 { v25:24.w += vmpa(v19:18.h,r10.b) }
69v25:24.w += vmpa(v19:18.h,r10.b)
70
71#CHECK: 1926e4da { v27:26.h += vmpa(v5:4.ub,r6.b) }
72v27:26.h += vmpa(v5:4.ub,r6.b)
73
74#CHECK: 194ff078 { v24.w += vmpyi(v16.w,r15.h) }
75v24.w += vmpyi(v16.w,r15.h)
76
77#CHECK: 1946e247 { v7.w += vmpyi(v2.w,r6.b) }
78v7.w += vmpyi(v2.w,r6.b)
79
80#CHECK: 1c3fead5 { v21.w += vmpyo(v10.w,v31.h):<<1:sat:shift }
81v21.w += vmpyo(v10.w,v31.h):<<1:sat:shift
82
83#CHECK: 1c30e1fa { v26.w += vmpyo(v1.w,v16.h):<<1:rnd:sat:shift }
84v26.w += vmpyo(v1.w,v16.h):<<1:rnd:sat:shift
85
86#CHECK: 1c34f690 { v16.h += vmpyi(v22.h,v20.h) }
87v16.h += vmpyi(v22.h,v20.h)
88
89#CHECK: 1c34f4b5 { v21.w += vmpyie(v20.w,v20.uh) }
90v21.w += vmpyie(v20.w,v20.uh)
91
92#CHECK: 1c54f804 { v4.w += vmpyie(v24.w,v20.h) }
93v4.w += vmpyie(v24.w,v20.h)
94
95#CHECK: 1c1ff6f4 { v21:20.w += vmpy(v22.h,v31.h) }
96v21:20.w += vmpy(v22.h,v31.h)
97
98#CHECK: 1c31f026 { v7:6.w += vmpy(v16.h,v17.uh) }
99v7:6.w += vmpy(v16.h,v17.uh)
100
101#CHECK: 1c12fb98 { v25:24.h += vmpy(v27.b,v18.b) }
102v25:24.h += vmpy(v27.b,v18.b)
103
104#CHECK: 1c17fcc0 { v1:0.h += vmpy(v28.ub,v23.b) }
105v1:0.h += vmpy(v28.ub,v23.b)
106
107#CHECK: 1c16f26f { v15.w += vdmpy(v18.h,v22.h):sat }
108v15.w += vdmpy(v18.h,v22.h):sat
109
110#CHECK: 1c0bea3a { v26.w += vrmpy(v10.b,v11.b) }
111v26.w += vrmpy(v10.b,v11.b)
112
113#CHECK: 1c15eb47 { v7.w += vrmpy(v11.ub,v21.b) }
114v7.w += vrmpy(v11.ub,v21.b)
115
116#CHECK: 1c26e40e { v15:14.uw += vmpy(v4.uh,v6.uh) }
117v15:14.uw += vmpy(v4.uh,v6.uh)
118
119#CHECK: 1c0df9a8 { v9:8.uh += vmpy(v25.ub,v13.ub) }
120v9:8.uh += vmpy(v25.ub,v13.ub)
121
122#CHECK: 1c0afc15 { v21.uw += vrmpy(v28.ub,v10.ub) }
123v21.uw += vrmpy(v28.ub,v10.ub)
124