1 // RUN
: llvm-mc
-triple i386-unknown-unknown
--show-encoding
%s | FileCheck
%s
3 // CHECK
: prefetch
-485498096(%edx
,%eax
,4)
4 // CHECK
: encoding
: [0x0f,0x0d,0x84,0x82,0x10,0xe3,0x0f,0xe3]
5 prefetch
-485498096(%edx
,%eax
,4)
7 // CHECK
: prefetch
485498096(%edx
,%eax
,4)
8 // CHECK
: encoding
: [0x0f,0x0d,0x84,0x82,0xf0,0x1c,0xf0,0x1c]
9 prefetch
485498096(%edx
,%eax
,4)
11 // CHECK
: prefetch
485498096(%edx
)
12 // CHECK
: encoding
: [0x0f,0x0d,0x82,0xf0,0x1c,0xf0,0x1c]
13 prefetch
485498096(%edx
)
15 // CHECK
: prefetch
485498096
16 // CHECK
: encoding
: [0x0f,0x0d,0x05,0xf0,0x1c,0xf0,0x1c]
19 // CHECK
: prefetch
64(%edx
,%eax
)
20 // CHECK
: encoding
: [0x0f,0x0d,0x44,0x02,0x40]
21 prefetch
64(%edx
,%eax
)
23 // CHECK
: prefetch
(%edx
)
24 // CHECK
: encoding
: [0x0f,0x0d,0x02]
27 // CHECK
: prefetchnta
-485498096(%edx
,%eax
,4)
28 // CHECK
: encoding
: [0x0f,0x18,0x84,0x82,0x10,0xe3,0x0f,0xe3]
29 prefetchnta
-485498096(%edx
,%eax
,4)
31 // CHECK
: prefetchnta
485498096(%edx
,%eax
,4)
32 // CHECK
: encoding
: [0x0f,0x18,0x84,0x82,0xf0,0x1c,0xf0,0x1c]
33 prefetchnta
485498096(%edx
,%eax
,4)
35 // CHECK
: prefetchnta
485498096(%edx
)
36 // CHECK
: encoding
: [0x0f,0x18,0x82,0xf0,0x1c,0xf0,0x1c]
37 prefetchnta
485498096(%edx
)
39 // CHECK
: prefetchnta
485498096
40 // CHECK
: encoding
: [0x0f,0x18,0x05,0xf0,0x1c,0xf0,0x1c]
43 // CHECK
: prefetchnta
64(%edx
,%eax
)
44 // CHECK
: encoding
: [0x0f,0x18,0x44,0x02,0x40]
45 prefetchnta
64(%edx
,%eax
)
47 // CHECK
: prefetchnta
(%edx
)
48 // CHECK
: encoding
: [0x0f,0x18,0x02]
51 // CHECK
: prefetcht0
-485498096(%edx
,%eax
,4)
52 // CHECK
: encoding
: [0x0f,0x18,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
53 prefetcht0
-485498096(%edx
,%eax
,4)
55 // CHECK
: prefetcht0
485498096(%edx
,%eax
,4)
56 // CHECK
: encoding
: [0x0f,0x18,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
57 prefetcht0
485498096(%edx
,%eax
,4)
59 // CHECK
: prefetcht0
485498096(%edx
)
60 // CHECK
: encoding
: [0x0f,0x18,0x8a,0xf0,0x1c,0xf0,0x1c]
61 prefetcht0
485498096(%edx
)
63 // CHECK
: prefetcht0
485498096
64 // CHECK
: encoding
: [0x0f,0x18,0x0d,0xf0,0x1c,0xf0,0x1c]
67 // CHECK
: prefetcht0
64(%edx
,%eax
)
68 // CHECK
: encoding
: [0x0f,0x18,0x4c,0x02,0x40]
69 prefetcht0
64(%edx
,%eax
)
71 // CHECK
: prefetcht0
(%edx
)
72 // CHECK
: encoding
: [0x0f,0x18,0x0a]
75 // CHECK
: prefetcht1
-485498096(%edx
,%eax
,4)
76 // CHECK
: encoding
: [0x0f,0x18,0x94,0x82,0x10,0xe3,0x0f,0xe3]
77 prefetcht1
-485498096(%edx
,%eax
,4)
79 // CHECK
: prefetcht1
485498096(%edx
,%eax
,4)
80 // CHECK
: encoding
: [0x0f,0x18,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
81 prefetcht1
485498096(%edx
,%eax
,4)
83 // CHECK
: prefetcht1
485498096(%edx
)
84 // CHECK
: encoding
: [0x0f,0x18,0x92,0xf0,0x1c,0xf0,0x1c]
85 prefetcht1
485498096(%edx
)
87 // CHECK
: prefetcht1
485498096
88 // CHECK
: encoding
: [0x0f,0x18,0x15,0xf0,0x1c,0xf0,0x1c]
91 // CHECK
: prefetcht1
64(%edx
,%eax
)
92 // CHECK
: encoding
: [0x0f,0x18,0x54,0x02,0x40]
93 prefetcht1
64(%edx
,%eax
)
95 // CHECK
: prefetcht1
(%edx
)
96 // CHECK
: encoding
: [0x0f,0x18,0x12]
99 // CHECK
: prefetcht2
-485498096(%edx
,%eax
,4)
100 // CHECK
: encoding
: [0x0f,0x18,0x9c,0x82,0x10,0xe3,0x0f,0xe3]
101 prefetcht2
-485498096(%edx
,%eax
,4)
103 // CHECK
: prefetcht2
485498096(%edx
,%eax
,4)
104 // CHECK
: encoding
: [0x0f,0x18,0x9c,0x82,0xf0,0x1c,0xf0,0x1c]
105 prefetcht2
485498096(%edx
,%eax
,4)
107 // CHECK
: prefetcht2
485498096(%edx
)
108 // CHECK
: encoding
: [0x0f,0x18,0x9a,0xf0,0x1c,0xf0,0x1c]
109 prefetcht2
485498096(%edx
)
111 // CHECK
: prefetcht2
485498096
112 // CHECK
: encoding
: [0x0f,0x18,0x1d,0xf0,0x1c,0xf0,0x1c]
115 // CHECK
: prefetcht2
64(%edx
,%eax
)
116 // CHECK
: encoding
: [0x0f,0x18,0x5c,0x02,0x40]
117 prefetcht2
64(%edx
,%eax
)
119 // CHECK
: prefetcht2
(%edx
)
120 // CHECK
: encoding
: [0x0f,0x18,0x1a]
123 // CHECK
: prefetchw
-485498096(%edx
,%eax
,4)
124 // CHECK
: encoding
: [0x0f,0x0d,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
125 prefetchw
-485498096(%edx
,%eax
,4)
127 // CHECK
: prefetchw
485498096(%edx
,%eax
,4)
128 // CHECK
: encoding
: [0x0f,0x0d,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
129 prefetchw
485498096(%edx
,%eax
,4)
131 // CHECK
: prefetchw
485498096(%edx
)
132 // CHECK
: encoding
: [0x0f,0x0d,0x8a,0xf0,0x1c,0xf0,0x1c]
133 prefetchw
485498096(%edx
)
135 // CHECK
: prefetchw
485498096
136 // CHECK
: encoding
: [0x0f,0x0d,0x0d,0xf0,0x1c,0xf0,0x1c]
139 // CHECK
: prefetchw
64(%edx
,%eax
)
140 // CHECK
: encoding
: [0x0f,0x0d,0x4c,0x02,0x40]
141 prefetchw
64(%edx
,%eax
)
143 // CHECK
: prefetchw
(%edx
)
144 // CHECK
: encoding
: [0x0f,0x0d,0x0a]
147 // CHECK
: prefetchwt1
-485498096(%edx
,%eax
,4)
148 // CHECK
: encoding
: [0x0f,0x0d,0x94,0x82,0x10,0xe3,0x0f,0xe3]
149 prefetchwt1
-485498096(%edx
,%eax
,4)
151 // CHECK
: prefetchwt1
485498096(%edx
,%eax
,4)
152 // CHECK
: encoding
: [0x0f,0x0d,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
153 prefetchwt1
485498096(%edx
,%eax
,4)
155 // CHECK
: prefetchwt1
485498096(%edx
)
156 // CHECK
: encoding
: [0x0f,0x0d,0x92,0xf0,0x1c,0xf0,0x1c]
157 prefetchwt1
485498096(%edx
)
159 // CHECK
: prefetchwt1
485498096
160 // CHECK
: encoding
: [0x0f,0x0d,0x15,0xf0,0x1c,0xf0,0x1c]
161 prefetchwt1
485498096
163 // CHECK
: prefetchwt1
64(%edx
,%eax
)
164 // CHECK
: encoding
: [0x0f,0x0d,0x54,0x02,0x40
165 prefetchwt1
64(%edx
,%eax
)
167 // CHECK
: prefetchwt1
(%edx
)
168 // CHECK
: encoding
: [0x0f,0x0d,0x12]