[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / X86 / AVXAES-32.s
blob5063d83673926ba7637a77d1db224780ec8785b3
1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: vaesdec -485498096(%edx,%eax,4), %xmm1, %xmm1
4 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
5 vaesdec -485498096(%edx,%eax,4), %xmm1, %xmm1
7 // CHECK: vaesdec 485498096(%edx,%eax,4), %xmm1, %xmm1
8 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
9 vaesdec 485498096(%edx,%eax,4), %xmm1, %xmm1
11 // CHECK: vaesdec 485498096(%edx), %xmm1, %xmm1
12 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x8a,0xf0,0x1c,0xf0,0x1c]
13 vaesdec 485498096(%edx), %xmm1, %xmm1
15 // CHECK: vaesdec 485498096, %xmm1, %xmm1
16 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x0d,0xf0,0x1c,0xf0,0x1c]
17 vaesdec 485498096, %xmm1, %xmm1
19 // CHECK: vaesdec 64(%edx,%eax), %xmm1, %xmm1
20 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x4c,0x02,0x40]
21 vaesdec 64(%edx,%eax), %xmm1, %xmm1
23 // CHECK: vaesdec (%edx), %xmm1, %xmm1
24 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x0a]
25 vaesdec (%edx), %xmm1, %xmm1
27 // CHECK: vaesdeclast -485498096(%edx,%eax,4), %xmm1, %xmm1
28 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
29 vaesdeclast -485498096(%edx,%eax,4), %xmm1, %xmm1
31 // CHECK: vaesdeclast 485498096(%edx,%eax,4), %xmm1, %xmm1
32 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
33 vaesdeclast 485498096(%edx,%eax,4), %xmm1, %xmm1
35 // CHECK: vaesdeclast 485498096(%edx), %xmm1, %xmm1
36 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x8a,0xf0,0x1c,0xf0,0x1c]
37 vaesdeclast 485498096(%edx), %xmm1, %xmm1
39 // CHECK: vaesdeclast 485498096, %xmm1, %xmm1
40 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x0d,0xf0,0x1c,0xf0,0x1c]
41 vaesdeclast 485498096, %xmm1, %xmm1
43 // CHECK: vaesdeclast 64(%edx,%eax), %xmm1, %xmm1
44 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x4c,0x02,0x40]
45 vaesdeclast 64(%edx,%eax), %xmm1, %xmm1
47 // CHECK: vaesdeclast (%edx), %xmm1, %xmm1
48 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x0a]
49 vaesdeclast (%edx), %xmm1, %xmm1
51 // CHECK: vaesdeclast %xmm1, %xmm1, %xmm1
52 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0xc9]
53 vaesdeclast %xmm1, %xmm1, %xmm1
55 // CHECK: vaesdec %xmm1, %xmm1, %xmm1
56 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0xc9]
57 vaesdec %xmm1, %xmm1, %xmm1
59 // CHECK: vaesenc -485498096(%edx,%eax,4), %xmm1, %xmm1
60 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
61 vaesenc -485498096(%edx,%eax,4), %xmm1, %xmm1
63 // CHECK: vaesenc 485498096(%edx,%eax,4), %xmm1, %xmm1
64 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
65 vaesenc 485498096(%edx,%eax,4), %xmm1, %xmm1
67 // CHECK: vaesenc 485498096(%edx), %xmm1, %xmm1
68 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x8a,0xf0,0x1c,0xf0,0x1c]
69 vaesenc 485498096(%edx), %xmm1, %xmm1
71 // CHECK: vaesenc 485498096, %xmm1, %xmm1
72 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x0d,0xf0,0x1c,0xf0,0x1c]
73 vaesenc 485498096, %xmm1, %xmm1
75 // CHECK: vaesenc 64(%edx,%eax), %xmm1, %xmm1
76 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x4c,0x02,0x40]
77 vaesenc 64(%edx,%eax), %xmm1, %xmm1
79 // CHECK: vaesenc (%edx), %xmm1, %xmm1
80 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x0a]
81 vaesenc (%edx), %xmm1, %xmm1
83 // CHECK: vaesenclast -485498096(%edx,%eax,4), %xmm1, %xmm1
84 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
85 vaesenclast -485498096(%edx,%eax,4), %xmm1, %xmm1
87 // CHECK: vaesenclast 485498096(%edx,%eax,4), %xmm1, %xmm1
88 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
89 vaesenclast 485498096(%edx,%eax,4), %xmm1, %xmm1
91 // CHECK: vaesenclast 485498096(%edx), %xmm1, %xmm1
92 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x8a,0xf0,0x1c,0xf0,0x1c]
93 vaesenclast 485498096(%edx), %xmm1, %xmm1
95 // CHECK: vaesenclast 485498096, %xmm1, %xmm1
96 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x0d,0xf0,0x1c,0xf0,0x1c]
97 vaesenclast 485498096, %xmm1, %xmm1
99 // CHECK: vaesenclast 64(%edx,%eax), %xmm1, %xmm1
100 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x4c,0x02,0x40]
101 vaesenclast 64(%edx,%eax), %xmm1, %xmm1
103 // CHECK: vaesenclast (%edx), %xmm1, %xmm1
104 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x0a]
105 vaesenclast (%edx), %xmm1, %xmm1
107 // CHECK: vaesenclast %xmm1, %xmm1, %xmm1
108 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0xc9]
109 vaesenclast %xmm1, %xmm1, %xmm1
111 // CHECK: vaesenc %xmm1, %xmm1, %xmm1
112 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0xc9]
113 vaesenc %xmm1, %xmm1, %xmm1
115 // CHECK: vaesimc -485498096(%edx,%eax,4), %xmm1
116 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
117 vaesimc -485498096(%edx,%eax,4), %xmm1
119 // CHECK: vaesimc 485498096(%edx,%eax,4), %xmm1
120 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
121 vaesimc 485498096(%edx,%eax,4), %xmm1
123 // CHECK: vaesimc 485498096(%edx), %xmm1
124 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x8a,0xf0,0x1c,0xf0,0x1c]
125 vaesimc 485498096(%edx), %xmm1
127 // CHECK: vaesimc 485498096, %xmm1
128 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x0d,0xf0,0x1c,0xf0,0x1c]
129 vaesimc 485498096, %xmm1
131 // CHECK: vaesimc 64(%edx,%eax), %xmm1
132 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x4c,0x02,0x40]
133 vaesimc 64(%edx,%eax), %xmm1
135 // CHECK: vaesimc (%edx), %xmm1
136 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x0a]
137 vaesimc (%edx), %xmm1
139 // CHECK: vaesimc %xmm1, %xmm1
140 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0xc9]
141 vaesimc %xmm1, %xmm1
143 // CHECK: vaeskeygenassist $0, -485498096(%edx,%eax,4), %xmm1
144 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00]
145 vaeskeygenassist $0, -485498096(%edx,%eax,4), %xmm1
147 // CHECK: vaeskeygenassist $0, 485498096(%edx,%eax,4), %xmm1
148 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00]
149 vaeskeygenassist $0, 485498096(%edx,%eax,4), %xmm1
151 // CHECK: vaeskeygenassist $0, 485498096(%edx), %xmm1
152 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x8a,0xf0,0x1c,0xf0,0x1c,0x00]
153 vaeskeygenassist $0, 485498096(%edx), %xmm1
155 // CHECK: vaeskeygenassist $0, 485498096, %xmm1
156 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x0d,0xf0,0x1c,0xf0,0x1c,0x00]
157 vaeskeygenassist $0, 485498096, %xmm1
159 // CHECK: vaeskeygenassist $0, 64(%edx,%eax), %xmm1
160 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x4c,0x02,0x40,0x00]
161 vaeskeygenassist $0, 64(%edx,%eax), %xmm1
163 // CHECK: vaeskeygenassist $0, (%edx), %xmm1
164 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x0a,0x00]
165 vaeskeygenassist $0, (%edx), %xmm1
167 // CHECK: vaeskeygenassist $0, %xmm1, %xmm1
168 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0xc9,0x00]
169 vaeskeygenassist $0, %xmm1, %xmm1