1# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv67t  -filetype=obj %s | llvm-objdump --mcpu=hexagonv67t  -d - | FileCheck --implicit-check-not='{' %s
2
3
4
5// Warning: This file is auto generated by mktest.py.  Do not edit!
6// Created at Wed Aug 22 11:17:37 2018
7// Created using:
8//  Arch: v67t, commit: 324e85a78e99759c3643d207f9d9b42bbfaf00f6
9
10//  A7_clip
11//  Rd32=clip(Rs32,#u5)
12    r0=clip(r0,#0)
13# CHECK: 88c0c0a0 { r0 = clip(r0,#0) }
14
15//  A7_croundd_ri
16//  Rdd32=cround(Rss32,#u6)
17    r1:0=cround(r1:0,#0)
18# CHECK-NEXT: 8ce0c040 { r1:0 = cround(r1:0,#0) }
19
20//  A7_croundd_rr
21//  Rdd32=cround(Rss32,Rt32)
22    r1:0=cround(r1:0,r0)
23# CHECK-NEXT: c6c0c040 { r1:0 = cround(r1:0,r0) }
24
25//  A7_vclip
26//  Rdd32=vclip(Rss32,#u5)
27    r1:0=vclip(r1:0,#0)
28# CHECK-NEXT: 88c0c0c0 { r1:0 = vclip(r1:0,#0) }
29
30//  M7_dcmpyiw
31//  Rdd32=cmpyiw(Rss32,Rtt32)
32    r1:0=cmpyiw(r1:0,r1:0)
33# CHECK-NEXT: e860c040 { r1:0 = cmpyiw(r1:0,r1:0) }
34
35//  M7_dcmpyiw_acc
36//  Rxx32+=cmpyiw(Rss32,Rtt32)
37    r1:0+=cmpyiw(r1:0,r1:0)
38# CHECK-NEXT: ea60c040 { r1:0 += cmpyiw(r1:0,r1:0) }
39
40//  M7_dcmpyiwc
41//  Rdd32=cmpyiw(Rss32,Rtt32*)
42    r1:0=cmpyiw(r1:0,r1:0*)
43# CHECK-NEXT: e8e0c040 { r1:0 = cmpyiw(r1:0,r1:0*) }
44
45//  M7_dcmpyiwc_acc
46//  Rxx32+=cmpyiw(Rss32,Rtt32*)
47    r1:0+=cmpyiw(r1:0,r1:0*)
48# CHECK-NEXT: ea40c0c0 { r1:0 += cmpyiw(r1:0,r1:0*) }
49
50//  M7_dcmpyrw
51//  Rdd32=cmpyrw(Rss32,Rtt32)
52    r1:0=cmpyrw(r1:0,r1:0)
53# CHECK-NEXT: e880c040 { r1:0 = cmpyrw(r1:0,r1:0) }
54
55//  M7_dcmpyrw_acc
56//  Rxx32+=cmpyrw(Rss32,Rtt32)
57    r1:0+=cmpyrw(r1:0,r1:0)
58# CHECK-NEXT: ea80c040 { r1:0 += cmpyrw(r1:0,r1:0) }
59
60//  M7_dcmpyrwc
61//  Rdd32=cmpyrw(Rss32,Rtt32*)
62    r1:0=cmpyrw(r1:0,r1:0*)
63# CHECK-NEXT: e8c0c040 { r1:0 = cmpyrw(r1:0,r1:0*) }
64
65//  M7_dcmpyrwc_acc
66//  Rxx32+=cmpyrw(Rss32,Rtt32*)
67    r1:0+=cmpyrw(r1:0,r1:0*)
68# CHECK-NEXT: eac0c040 { r1:0 += cmpyrw(r1:0,r1:0*) }
69
70//  M7_wcmpyiw
71//  Rd32=cmpyiw(Rss32,Rtt32):<<1:sat
72    r0=cmpyiw(r1:0,r1:0):<<1:sat
73# CHECK-NEXT: e920c000 { r0 = cmpyiw(r1:0,r1:0):<<1:sat }
74
75//  M7_wcmpyiw_rnd
76//  Rd32=cmpyiw(Rss32,Rtt32):<<1:rnd:sat
77    r0=cmpyiw(r1:0,r1:0):<<1:rnd:sat
78# CHECK-NEXT: e9a0c000 { r0 = cmpyiw(r1:0,r1:0):<<1:rnd:sat }
79
80//  M7_wcmpyiwc
81//  Rd32=cmpyiw(Rss32,Rtt32*):<<1:sat
82    r0=cmpyiw(r1:0,r1:0*):<<1:sat
83# CHECK-NEXT: e900c080 { r0 = cmpyiw(r1:0,r1:0*):<<1:sat }
84
85//  M7_wcmpyiwc_rnd
86//  Rd32=cmpyiw(Rss32,Rtt32*):<<1:rnd:sat
87    r0=cmpyiw(r1:0,r1:0*):<<1:rnd:sat
88# CHECK-NEXT: e980c080 { r0 = cmpyiw(r1:0,r1:0*):<<1:rnd:sat }
89
90//  M7_wcmpyrw
91//  Rd32=cmpyrw(Rss32,Rtt32):<<1:sat
92    r0=cmpyrw(r1:0,r1:0):<<1:sat
93# CHECK-NEXT: e940c000 { r0 = cmpyrw(r1:0,r1:0):<<1:sat }
94
95//  M7_wcmpyrw_rnd
96//  Rd32=cmpyrw(Rss32,Rtt32):<<1:rnd:sat
97    r0=cmpyrw(r1:0,r1:0):<<1:rnd:sat
98# CHECK-NEXT: e9c0c000 { r0 = cmpyrw(r1:0,r1:0):<<1:rnd:sat }
99
100//  M7_wcmpyrwc
101//  Rd32=cmpyrw(Rss32,Rtt32*):<<1:sat
102    r0=cmpyrw(r1:0,r1:0*):<<1:sat
103# CHECK-NEXT: e960c000 { r0 = cmpyrw(r1:0,r1:0*):<<1:sat }
104
105//  M7_wcmpyrwc_rnd
106//  Rd32=cmpyrw(Rss32,Rtt32*):<<1:rnd:sat
107    r0=cmpyrw(r1:0,r1:0*):<<1:rnd:sat
108# CHECK-NEXT: e9e0c000 { r0 = cmpyrw(r1:0,r1:0*):<<1:rnd:sat }
109