[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / X86 / PREFETCH-64.s
blob0c4a126a2a20e5fd6f052484e26a982c0e1be23f
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: prefetch 485498096
4 // CHECK: encoding: [0x0f,0x0d,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
5 prefetch 485498096
7 // CHECK: prefetch 64(%rdx)
8 // CHECK: encoding: [0x0f,0x0d,0x42,0x40]
9 prefetch 64(%rdx)
11 // CHECK: prefetch 64(%rdx,%rax,4)
12 // CHECK: encoding: [0x0f,0x0d,0x44,0x82,0x40]
13 prefetch 64(%rdx,%rax,4)
15 // CHECK: prefetch -64(%rdx,%rax,4)
16 // CHECK: encoding: [0x0f,0x0d,0x44,0x82,0xc0]
17 prefetch -64(%rdx,%rax,4)
19 // CHECK: prefetch 64(%rdx,%rax)
20 // CHECK: encoding: [0x0f,0x0d,0x44,0x02,0x40]
21 prefetch 64(%rdx,%rax)
23 // CHECK: prefetchnta 485498096
24 // CHECK: encoding: [0x0f,0x18,0x04,0x25,0xf0,0x1c,0xf0,0x1c]
25 prefetchnta 485498096
27 // CHECK: prefetchnta 64(%rdx)
28 // CHECK: encoding: [0x0f,0x18,0x42,0x40]
29 prefetchnta 64(%rdx)
31 // CHECK: prefetchnta 64(%rdx,%rax,4)
32 // CHECK: encoding: [0x0f,0x18,0x44,0x82,0x40]
33 prefetchnta 64(%rdx,%rax,4)
35 // CHECK: prefetchnta -64(%rdx,%rax,4)
36 // CHECK: encoding: [0x0f,0x18,0x44,0x82,0xc0]
37 prefetchnta -64(%rdx,%rax,4)
39 // CHECK: prefetchnta 64(%rdx,%rax)
40 // CHECK: encoding: [0x0f,0x18,0x44,0x02,0x40]
41 prefetchnta 64(%rdx,%rax)
43 // CHECK: prefetchnta (%rdx)
44 // CHECK: encoding: [0x0f,0x18,0x02]
45 prefetchnta (%rdx)
47 // CHECK: prefetch (%rdx)
48 // CHECK: encoding: [0x0f,0x0d,0x02]
49 prefetch (%rdx)
51 // CHECK: prefetcht0 485498096
52 // CHECK: encoding: [0x0f,0x18,0x0c,0x25,0xf0,0x1c,0xf0,0x1c]
53 prefetcht0 485498096
55 // CHECK: prefetcht0 64(%rdx)
56 // CHECK: encoding: [0x0f,0x18,0x4a,0x40]
57 prefetcht0 64(%rdx)
59 // CHECK: prefetcht0 64(%rdx,%rax,4)
60 // CHECK: encoding: [0x0f,0x18,0x4c,0x82,0x40]
61 prefetcht0 64(%rdx,%rax,4)
63 // CHECK: prefetcht0 -64(%rdx,%rax,4)
64 // CHECK: encoding: [0x0f,0x18,0x4c,0x82,0xc0]
65 prefetcht0 -64(%rdx,%rax,4)
67 // CHECK: prefetcht0 64(%rdx,%rax)
68 // CHECK: encoding: [0x0f,0x18,0x4c,0x02,0x40]
69 prefetcht0 64(%rdx,%rax)
71 // CHECK: prefetcht0 (%rdx)
72 // CHECK: encoding: [0x0f,0x18,0x0a]
73 prefetcht0 (%rdx)
75 // CHECK: prefetcht1 485498096
76 // CHECK: encoding: [0x0f,0x18,0x14,0x25,0xf0,0x1c,0xf0,0x1c]
77 prefetcht1 485498096
79 // CHECK: prefetcht1 64(%rdx)
80 // CHECK: encoding: [0x0f,0x18,0x52,0x40]
81 prefetcht1 64(%rdx)
83 // CHECK: prefetcht1 64(%rdx,%rax,4)
84 // CHECK: encoding: [0x0f,0x18,0x54,0x82,0x40]
85 prefetcht1 64(%rdx,%rax,4)
87 // CHECK: prefetcht1 -64(%rdx,%rax,4)
88 // CHECK: encoding: [0x0f,0x18,0x54,0x82,0xc0]
89 prefetcht1 -64(%rdx,%rax,4)
91 // CHECK: prefetcht1 64(%rdx,%rax)
92 // CHECK: encoding: [0x0f,0x18,0x54,0x02,0x40]
93 prefetcht1 64(%rdx,%rax)
95 // CHECK: prefetcht1 (%rdx)
96 // CHECK: encoding: [0x0f,0x18,0x12]
97 prefetcht1 (%rdx)
99 // CHECK: prefetcht2 485498096
100 // CHECK: encoding: [0x0f,0x18,0x1c,0x25,0xf0,0x1c,0xf0,0x1c]
101 prefetcht2 485498096
103 // CHECK: prefetcht2 64(%rdx)
104 // CHECK: encoding: [0x0f,0x18,0x5a,0x40]
105 prefetcht2 64(%rdx)
107 // CHECK: prefetcht2 64(%rdx,%rax,4)
108 // CHECK: encoding: [0x0f,0x18,0x5c,0x82,0x40]
109 prefetcht2 64(%rdx,%rax,4)
111 // CHECK: prefetcht2 -64(%rdx,%rax,4)
112 // CHECK: encoding: [0x0f,0x18,0x5c,0x82,0xc0]
113 prefetcht2 -64(%rdx,%rax,4)
115 // CHECK: prefetcht2 64(%rdx,%rax)
116 // CHECK: encoding: [0x0f,0x18,0x5c,0x02,0x40]
117 prefetcht2 64(%rdx,%rax)
119 // CHECK: prefetcht2 (%rdx)
120 // CHECK: encoding: [0x0f,0x18,0x1a]
121 prefetcht2 (%rdx)
123 // CHECK: prefetchw 485498096
124 // CHECK: encoding: [0x0f,0x0d,0x0c,0x25,0xf0,0x1c,0xf0,0x1c]
125 prefetchw 485498096
127 // CHECK: prefetchw 64(%rdx)
128 // CHECK: encoding: [0x0f,0x0d,0x4a,0x40]
129 prefetchw 64(%rdx)
131 // CHECK: prefetchw 64(%rdx,%rax,4)
132 // CHECK: encoding: [0x0f,0x0d,0x4c,0x82,0x40]
133 prefetchw 64(%rdx,%rax,4)
135 // CHECK: prefetchw -64(%rdx,%rax,4)
136 // CHECK: encoding: [0x0f,0x0d,0x4c,0x82,0xc0]
137 prefetchw -64(%rdx,%rax,4)
139 // CHECK: prefetchw 64(%rdx,%rax)
140 // CHECK: encoding: [0x0f,0x0d,0x4c,0x02,0x40]
141 prefetchw 64(%rdx,%rax)
143 // CHECK: prefetchw (%rdx)
144 // CHECK: encoding: [0x0f,0x0d,0x0a]
145 prefetchw (%rdx)
147 // CHECK: prefetchwt1 485498096
148 // CHECK: encoding: [0x0f,0x0d,0x14,0x25,0xf0,0x1c,0xf0,0x1c]
149 prefetchwt1 485498096
151 // CHECK: prefetchwt1 64(%rdx)
152 // CHECK: encoding: [0x0f,0x0d,0x52,0x40]
153 prefetchwt1 64(%rdx)
155 // CHECK: prefetchwt1 64(%rdx,%rax,4)
156 // CHECK: encoding: [0x0f,0x0d,0x54,0x82,0x40]
157 prefetchwt1 64(%rdx,%rax,4)
159 // CHECK: prefetchwt1 -64(%rdx,%rax,4)
160 // CHECK: encoding: [0x0f,0x0d,0x54,0x82,0xc0]
161 prefetchwt1 -64(%rdx,%rax,4)
163 // CHECK: prefetchwt1 64(%rdx,%rax)
164 // CHECK: encoding: [0x0f,0x0d,0x54,0x02,0x40]
165 prefetchwt1 64(%rdx,%rax)
167 // CHECK: prefetchwt1 (%rdx)
168 // CHECK: encoding: [0x0f,0x0d,0x12]
169 prefetchwt1 (%rdx)