Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: src/trusted/validator_x86/testdata/64/sse.test

Issue 625923004: Delete old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 @hex:
2 # Test SSE instructions
3 # SSE
4 # addps %xmm0,%xmm1
5 0f 58 c8
6 # subss %xmm0,%xmm1
7 f3 0f 5c c8
8 # pmaxsw %xmm0,%xmm1
9 66 0f ee c8
10 # pminub %xmm0,%xmm1
11 66 0f da c8
12 # pinsrw $0x1,%eax,%xmm0
13 66 0f c4 c0 01
14 # pmovmskb %xmm0,%eax
15 66 0f d7 c0
16 # pmulhuw %xmm0,%xmm1
17 66 0f e4 c8
18 # comiss %xmm0,%xmm1
19 0f 2f c8
20 @rval:
21 VALIDATOR: Checking jump targets: 0 to 1f
22 VALIDATOR: Checking that basic blocks are aligned
23 *** <input> is safe ***
24 @rvald:
25 VALIDATOR: Checking block alignment and jump targets: 0 to 1f
26 *** <input> is safe ***
27 @vd-rval:
28 VALIDATOR: Checking jump targets: 0 to 1f
29 VALIDATOR: Checking that basic blocks are aligned
30 *** <input> is safe ***
31 @dis:
32 0000000000000000: 0f 58 c8 addps %xmm1, %x mm0
33 0000000000000003: f3 0f 5c c8 subss %xmm1, %x mm0
34 0000000000000007: 66 0f ee c8 pmaxsw %xmm1, % xmm0
35 000000000000000b: 66 0f da c8 pminub %xmm1, % xmm0
36 000000000000000f: 66 0f c4 c0 01 pinsrw %xmm0, % eax, 0x1
37 0000000000000014: 66 0f d7 c0 pmovmskb %eax, %xmm0
38 0000000000000018: 66 0f e4 c8 pmulhuw %xmm1, %xmm0
39 000000000000001c: 0f 2f c8 comiss %xmm1, % xmm0
40 @vdis:
41 0000000000000000: 0f 58 c8 [P] dontcare %x mm0 (u)
42 0000000000000003: f3 0f 5c c8 [P] dontcare %x mm0 (u)
43 0000000000000007: 66 0f ee c8 [P] dontcare %x mm0 (u)
44 000000000000000b: 66 0f da c8 [P] dontcare %x mm0 (u)
45 000000000000000f: 66 0f c4 c0 01 [P] dontcare %e ax (u), 0x1 (u)
46 0000000000000014: 66 0f d7 c0 [P] dontcare %e ax (s), %xmm0 (u)
47 0000000000000018: 66 0f e4 c8 [P] dontcare %x mm0 (u)
48 000000000000001c: 0f 2f c8 [P] dontcare %x mm0 (u)
49 @rdfa_output:
50 return code: 0
51 ----------------------------------------------------------------------
52 @hex:
53 # cvtps2pi %xmm1,%mm0
54 0f 2d c1
55 # ldmxcsr (%rsp)
56 0f ae 14 24
57 # stmxcsr (%rsp)
58 0f ae 1c 24
59 # movaps %xmm0,%xmm1
60 0f 28 c8
61 # movmskps %xmm1,%eax
62 0f 50 c1
63 # movntps %xmm0,(%rsp)
64 0f 2b 04 24
65 # shufps $0x1,%xmm0,%xmm1
66 0f c6 c8 01
67 # unpcklps %xmm0,%xmm1
68 0f 14 c8
69 # sfence
70 0f ae f8
71
72 # nop for bundle alignment
73 90
74
75 # prefetcht2 (%rsp)
76 0f 18 1c 24
77 @rval:
78 VALIDATOR: Checking jump targets: 0 to 24
79 VALIDATOR: Checking that basic blocks are aligned
80 *** <input> is safe ***
81 @rvald:
82 VALIDATOR: Checking block alignment and jump targets: 0 to 24
83 *** <input> is safe ***
84 @vd-rval:
85 VALIDATOR: Checking jump targets: 0 to 24
86 VALIDATOR: Checking that basic blocks are aligned
87 *** <input> is safe ***
88 @dis:
89 0000000000000000: 0f 2d c1 cvtps2pi %mmx0, %xmm1
90 0000000000000003: 0f ae 14 24 ldmxcsr [%rsp]
91 0000000000000007: 0f ae 1c 24 stmxcsr [%rsp]
92 000000000000000b: 0f 28 c8 movaps %xmm1, % xmm0
93 000000000000000e: 0f 50 c1 movmskps %eax, %xmm1
94 0000000000000011: 0f 2b 04 24 movntps [%rsp], %xmm0
95 0000000000000015: 0f c6 c8 01 shufps %xmm1, % xmm0, 0x1
96 0000000000000019: 0f 14 c8 unpcklps %xmm1, %xmm0
97 000000000000001c: 0f ae f8 sfence
98 000000000000001f: 90 nop
99 0000000000000020: 0f 18 1c 24 prefetcht2 [%rs p]
100 @vdis:
101 0000000000000000: 0f 2d c1 [P] dontcare %x mm1 (u)
102 0000000000000003: 0f ae 14 24 [P] dontcare [% rsp] (u)
103 0000000000000007: 0f ae 1c 24 [P] dontcare [% rsp] (s)
104 000000000000000b: 0f 28 c8 [P] dontcare %x mm0 (u)
105 000000000000000e: 0f 50 c1 [P] dontcare %e ax (s), %xmm1 (u)
106 0000000000000011: 0f 2b 04 24 [P] dontcare [% rsp] (s)
107 0000000000000015: 0f c6 c8 01 [P] dontcare %x mm0 (u), 0x1 (u)
108 0000000000000019: 0f 14 c8 [P] dontcare %x mm0 (u)
109 000000000000001c: 0f ae f8 [P] dontcare
110 000000000000001f: 90 [P] dontcare
111 0000000000000020: 0f 18 1c 24 [P] dontcare [% rsp]
112 @rdfa_output:
113 return code: 0
114 ----------------------------------------------------------------------
115 @hex:
116 # SSE2
117 # addpd %xmm0,%xmm1
118 66 0f 58 c8
119 # maxsd %xmm0,%xmm1
120 f2 0f 5f c8
121 # cmpeqpd %xmm0,%xmm1
122 66 0f c2 c8 00
123 # comisd %xmm0,%xmm1
124 66 0f 2f c8
125 # cvtpd2dq %xmm0,%xmm1
126 f2 0f e6 c8
127 # movapd %xmm0,%xmm1
128 66 0f 28 c8
129 # movmskpd %xmm0,%eax
130 66 0f 50 c0
131
132 # nops for bundle alignment
133 90
134 90
135 90
136
137 # shufpd $0x1,%xmm0,%xmm1
138 66 0f c6 c8 01
139 # unpckhpd %xmm0,%xmm1
140 66 0f 15 c8
141 # movdq2q %xmm0,%mm1
142 f2 0f d6 c8
143 # movdqa %xmm0,%xmm1
144 66 0f 6f c8
145 # paddq %xmm0,%xmm1
146 66 0f d4 c8
147 # psrldq $0x1,%xmm0
148 66 0f 73 d8 01
149 # pshufd $0x1,%xmm0,%xmm1
150 66 0f 70 c8 01
151
152 # nop for bundle alignment
153 90
154
155 # punpcklqdq %xmm0,%xmm1
156 66 0f 6c c8
157 @rval:
158 VALIDATOR: Checking jump targets: 0 to 44
159 VALIDATOR: Checking that basic blocks are aligned
160 *** <input> is safe ***
161 @rvald:
162 VALIDATOR: Checking block alignment and jump targets: 0 to 44
163 *** <input> is safe ***
164 @vd-rval:
165 VALIDATOR: Checking jump targets: 0 to 44
166 VALIDATOR: Checking that basic blocks are aligned
167 *** <input> is safe ***
168 @dis:
169 0000000000000000: 66 0f 58 c8 addpd %xmm1, %x mm0
170 0000000000000004: f2 0f 5f c8 maxsd %xmm1, %x mm0
171 0000000000000008: 66 0f c2 c8 00 cmppd %xmm1, %x mm0, 0x0
172 000000000000000d: 66 0f 2f c8 comisd %xmm1, % xmm0
173 0000000000000011: f2 0f e6 c8 cvtpd2dq %xmm1, %xmm0
174 0000000000000015: 66 0f 28 c8 movapd %xmm1, % xmm0
175 0000000000000019: 66 0f 50 c0 movmskpd %eax, %xmm0
176 000000000000001d: 90 nop
177 000000000000001e: 90 nop
178 000000000000001f: 90 nop
179 0000000000000020: 66 0f c6 c8 01 shufpd %xmm1, % xmm0, 0x1
180 0000000000000025: 66 0f 15 c8 unpckhpd %xmm1, %xmm0
181 0000000000000029: f2 0f d6 c8 movdq2q %mmx1, %xmm0
182 000000000000002d: 66 0f 6f c8 movdqa %xmm1, % xmm0
183 0000000000000031: 66 0f d4 c8 paddq %xmm1, %x mm0
184 0000000000000035: 66 0f 73 d8 01 psrldq %xmm0, 0 x1
185 000000000000003a: 66 0f 70 c8 01 pshufd %xmm1, % xmm0, 0x1
186 000000000000003f: 90 nop
187 0000000000000040: 66 0f 6c c8 punpcklqdq %xmm 1, %xmm0
188 @vdis:
189 0000000000000000: 66 0f 58 c8 [P] dontcare %x mm0 (u)
190 0000000000000004: f2 0f 5f c8 [P] dontcare %x mm0 (u)
191 0000000000000008: 66 0f c2 c8 00 [P] dontcare %x mm0 (u), 0x0 (u)
192 000000000000000d: 66 0f 2f c8 [P] dontcare %x mm0 (u)
193 0000000000000011: f2 0f e6 c8 [P] dontcare %x mm0 (u)
194 0000000000000015: 66 0f 28 c8 [P] dontcare %x mm0 (u)
195 0000000000000019: 66 0f 50 c0 [P] dontcare %e ax (s), %xmm0 (u)
196 000000000000001d: 90 [P] dontcare
197 000000000000001e: 90 [P] dontcare
198 000000000000001f: 90 [P] dontcare
199 0000000000000020: 66 0f c6 c8 01 [P] dontcare %x mm0 (u), 0x1 (u)
200 0000000000000025: 66 0f 15 c8 [P] dontcare %x mm0 (u)
201 0000000000000029: f2 0f d6 c8 [P] dontcare %x mm0 (u)
202 000000000000002d: 66 0f 6f c8 [P] dontcare %x mm0 (u)
203 0000000000000031: 66 0f d4 c8 [P] dontcare %x mm0 (u)
204 0000000000000035: 66 0f 73 d8 01 [P] dontcare %x mm0 (su), 0x1 (u)
205 000000000000003a: 66 0f 70 c8 01 [P] dontcare %x mm0 (u), 0x1 (u)
206 000000000000003f: 90 [P] dontcare
207 0000000000000040: 66 0f 6c c8 [P] dontcare %x mm0 (u)
208 @rdfa_output:
209 return code: 0
210 ----------------------------------------------------------------------
211 @hex:
212 # SSE 3
213 # addsubpd %xmm0,%xmm1
214 66 0f d0 c8
215 # haddps %xmm0,%xmm1
216 f2 0f 7c c8
217 # movshdup %xmm0,%xmm1
218 f3 0f 16 c8
219 @rval:
220 VALIDATOR: Checking jump targets: 0 to c
221 VALIDATOR: Checking that basic blocks are aligned
222 *** <input> is safe ***
223 @rvald:
224 VALIDATOR: Checking block alignment and jump targets: 0 to c
225 *** <input> is safe ***
226 @vd-rval:
227 VALIDATOR: Checking jump targets: 0 to c
228 VALIDATOR: Checking that basic blocks are aligned
229 *** <input> is safe ***
230 @dis:
231 0000000000000000: 66 0f d0 c8 addsubpd %xmm1, %xmm0
232 0000000000000004: f2 0f 7c c8 haddps %xmm1, % xmm0
233 0000000000000008: f3 0f 16 c8 movshdup %xmm1, %xmm0
234 @vdis:
235 0000000000000000: 66 0f d0 c8 [P] dontcare %x mm0 (u)
236 0000000000000004: f2 0f 7c c8 [P] dontcare %x mm0 (u)
237 0000000000000008: f3 0f 16 c8 [P] dontcare %x mm0 (u)
238 @rdfa_output:
239 return code: 0
240 ----------------------------------------------------------------------
241 @hex:
242 # SSSE3
243 # psignb %xmm0,%xmm1
244 66 0f 38 08 c8
245 # pshufb %xmm0,%xmm1
246 66 0f 38 00 c8
247 # pmaddubsw %xmm0,%xmm1
248 66 0f 38 04 c8
249 # phaddd %xmm0,%xmm1
250 66 0f 38 02 c8
251 # palignr $0x1,%xmm0,%xmm1
252 66 0f 3a 0f c8 01
253 @rval:
254 VALIDATOR: Checking jump targets: 0 to 1a
255 VALIDATOR: Checking that basic blocks are aligned
256 *** <input> is safe ***
257 @rvald:
258 VALIDATOR: Checking block alignment and jump targets: 0 to 1a
259 *** <input> is safe ***
260 @vd-rval:
261 VALIDATOR: Checking jump targets: 0 to 1a
262 VALIDATOR: Checking that basic blocks are aligned
263 *** <input> is safe ***
264 @dis:
265 0000000000000000: 66 0f 38 08 c8 psignb %xmm1, % xmm0
266 0000000000000005: 66 0f 38 00 c8 pshufb %xmm1, % xmm0
267 000000000000000a: 66 0f 38 04 c8 pmaddubsw %xmm1 , %xmm0
268 000000000000000f: 66 0f 38 02 c8 phaddd %xmm1, % xmm0
269 0000000000000014: 66 0f 3a 0f c8 01 palignr %xmm1, %xmm0, 0x1
270 @vdis:
271 0000000000000000: 66 0f 38 08 c8 [P] dontcare %x mm0 (u)
272 0000000000000005: 66 0f 38 00 c8 [P] dontcare %x mm0 (u)
273 000000000000000a: 66 0f 38 04 c8 [P] dontcare %x mm0 (u)
274 000000000000000f: 66 0f 38 02 c8 [P] dontcare %x mm0 (u)
275 0000000000000014: 66 0f 3a 0f c8 01 [P] dontcare %x mm0 (u), 0x1 (u)
276 @rdfa_output:
277 return code: 0
278 ----------------------------------------------------------------------
279 @hex:
280 # SSE41
281 # mpsadbw $0x1,%xmm0,%xmm1
282 66 0f 3a 42 c8 01
283 # phminposuw %xmm0,%xmm1
284 66 0f 38 41 c8
285 # dppd $0x1,%xmm0,%xmm1
286 66 0f 3a 41 c8 01
287 # blendvpd %xmm0,%xmm0,%xmm1
288 66 0f 38 15 c8
289 # pmaxuw %xmm0,%xmm1
290 66 0f 38 3e c8
291
292 # nops for bundle alignment
293 90
294 90
295 90
296 90
297 90
298
299 # insertps $0x1,%xmm0,%xmm1
300 66 0f 3a 21 c8 01
301 # pmovsxwq %xmm0,%xmm1
302 66 0f 38 24 c8
303 # ptest %xmm0,%xmm1
304 66 0f 38 17 c8
305 # packusdw %xmm0,%xmm1
306 66 0f 38 2b c8
307 # movntdqa (%rsp),%xmm0
308 66 0f 38 2a 04 24
309 @rval:
310 VALIDATOR: Checking jump targets: 0 to 3b
311 VALIDATOR: Checking that basic blocks are aligned
312 *** <input> is safe ***
313 @rvald:
314 VALIDATOR: Checking block alignment and jump targets: 0 to 3b
315 *** <input> is safe ***
316 @vd-rval:
317 VALIDATOR: Checking jump targets: 0 to 3b
318 VALIDATOR: Checking that basic blocks are aligned
319 *** <input> is safe ***
320 @dis:
321 0000000000000000: 66 0f 3a 42 c8 01 mpsadbw %xmm1, %xmm0, 0x1
322 0000000000000006: 66 0f 38 41 c8 phminposuw %xmm 1, %xmm0
323 000000000000000b: 66 0f 3a 41 c8 01 dppd %xmm1, %xm m0, 0x1
324 0000000000000011: 66 0f 38 15 c8 blendvpd %xmm1, %xmm0, %xmm0
325 0000000000000016: 66 0f 38 3e c8 pmaxuw %xmm1, % xmm0
326 000000000000001b: 90 nop
327 000000000000001c: 90 nop
328 000000000000001d: 90 nop
329 000000000000001e: 90 nop
330 000000000000001f: 90 nop
331 0000000000000020: 66 0f 3a 21 c8 01 insertps %xmm1, %xmm0, 0x1
332 0000000000000026: 66 0f 38 24 c8 pmovsxwq %xmm1, %xmm0
333 000000000000002b: 66 0f 38 17 c8 ptest %xmm1, %x mm0
334 0000000000000030: 66 0f 38 2b c8 packusdw %xmm1, %xmm0
335 0000000000000035: 66 0f 38 2a 04 24 movntdqa %xmm0, [%rsp]
336 @vdis:
337 0000000000000000: 66 0f 3a 42 c8 01 [P] dontcare %x mm0 (u), 0x1 (u)
338 0000000000000006: 66 0f 38 41 c8 [P] dontcare %x mm0 (u)
339 000000000000000b: 66 0f 3a 41 c8 01 [P] dontcare %x mm0 (u), 0x1 (u)
340 0000000000000011: 66 0f 38 15 c8 [P] dontcare %x mm0 (u)
341 0000000000000016: 66 0f 38 3e c8 [P] dontcare %x mm0 (u)
342 000000000000001b: 90 [P] dontcare
343 000000000000001c: 90 [P] dontcare
344 000000000000001d: 90 [P] dontcare
345 000000000000001e: 90 [P] dontcare
346 000000000000001f: 90 [P] dontcare
347 0000000000000020: 66 0f 3a 21 c8 01 [P] dontcare %x mm0 (u), 0x1 (u)
348 0000000000000026: 66 0f 38 24 c8 [P] dontcare %x mm0 (u)
349 000000000000002b: 66 0f 38 17 c8 [P] dontcare %x mm0 (u)
350 0000000000000030: 66 0f 38 2b c8 [P] dontcare %x mm0 (u)
351 0000000000000035: 66 0f 38 2a 04 24 [P] dontcare [% rsp] (u)
352 @rdfa_output:
353 return code: 0
354 ----------------------------------------------------------------------
355 @hex:
356 # SSE4a
357 # popcnt %rax,%rax
358 f3 48 0f b8 c0
359 # lzcnt %rax,%rax
360 f3 48 0f bd c0
361 # extrq $0x1,$0x2,%xmm0
362 66 0f 78 c0 02 01
363 # movntss %xmm0,(%rsp)
364 f3 0f 2b 04 24
365 @rval:
366 VALIDATOR: 000000000000000a: 66 0f 78 c0 02 01 extr q %xmm0, 0x2, 0x1
367 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
368 VALIDATOR: Checking jump targets: 0 to 15
369 VALIDATOR: Checking that basic blocks are aligned
370 *** <input> IS UNSAFE ***
371 @rvald:
372 VALIDATOR: 000000000000000a: 66 0f 78 c0 02 01 extr q %xmm0, 0x2, 0x1
373 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
374 VALIDATOR: Checking block alignment and jump targets: 0 to 15
375 *** <input> IS UNSAFE ***
376 @vd-rval:
377 VALIDATOR: 000000000000000a: 66 0f 78 c0 02 01 [P] dontcare(illegal)
378 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
379 VALIDATOR: Checking jump targets: 0 to 15
380 VALIDATOR: Checking that basic blocks are aligned
381 *** <input> IS UNSAFE ***
382 @dis:
383 0000000000000000: f3 48 0f b8 c0 popcnt %rax, %r ax
384 0000000000000005: f3 48 0f bd c0 lzcnt %rax, %ra x
385 000000000000000a: 66 0f 78 c0 02 01 extrq %xmm0, 0x 2, 0x1
386 0000000000000010: f3 0f 2b 04 24 movntss [%rsp], %xmm0
387 @vdis:
388 0000000000000000: f3 48 0f b8 c0 [P] dontcare %r ax (s), %rax (u)
389 0000000000000005: f3 48 0f bd c0 [P] dontcare %r ax (s), %rax (u)
390 000000000000000a: 66 0f 78 c0 02 01 [P] dontcare(il legal)
391 0000000000000010: f3 0f 2b 04 24 [P] dontcare [% rsp] (s)
392 @rdfa_output:
393 a: [0] unrecognized instruction
394 return code: 1
395 ----------------------------------------------------------------------
396 @hex:
397 # SSE42
398 # crc32b %al,%rax
399 f2 48 0f 38 f0 c0
400
401 # pcmpistri $0x1,%xmm0,%xmm1
402 66 0f 3a 63 c8 01
403 # pcmpgtq %xmm0,%xmm1
404 66 0f 38 37 c8
405 @rval:
406 VALIDATOR: Checking jump targets: 0 to 11
407 VALIDATOR: Checking that basic blocks are aligned
408 *** <input> is safe ***
409 @rvald:
410 VALIDATOR: Checking block alignment and jump targets: 0 to 11
411 *** <input> is safe ***
412 @vd-rval:
413 VALIDATOR: Checking jump targets: 0 to 11
414 VALIDATOR: Checking that basic blocks are aligned
415 *** <input> is safe ***
416 @dis:
417 0000000000000000: f2 48 0f 38 f0 c0 crc32 %eax, %al
418 0000000000000006: 66 0f 3a 63 c8 01 pcmpistri %xmm1 , %xmm0, 0x1
419 000000000000000c: 66 0f 38 37 c8 pcmpgtq %xmm1, %xmm0
420 @vdis:
421 0000000000000000: f2 48 0f 38 f0 c0 [P] dontcare %e ax (su), %al (u)
422 0000000000000006: 66 0f 3a 63 c8 01 [P] dontcare %e cx (s), %xmm0 (u), 0x1 (u)
423 000000000000000c: 66 0f 38 37 c8 [P] dontcare %x mm0 (u)
424 @rdfa_output:
425 return code: 0
426 ----------------------------------------------------------------------
427 @hex:
428 # AVX FMA
429 # vfmaddpd %xmm0,%xmm1,%xmm2,%xmm3
430 c4 e3 f1 69 d8 20
431 90 90 90
432 @rval:
433 VALIDATOR: 0000000000000000: c4 inva lid
434 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
435 VALIDATOR: 0000000000000000: c4 inva lid
436 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
437 VALIDATOR: 0000000000000001: e3 f1 jrcx z 0xfffffffffffffff4
438 VALIDATOR: ERROR: Instruction jumps to bad address
439 VALIDATOR: Checking jump targets: 0 to 9
440 VALIDATOR: Checking that basic blocks are aligned
441 *** <input> IS UNSAFE ***
442 @rvald:
443 VALIDATOR: 0000000000000000: c4 inva lid
444 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
445 VALIDATOR: 0000000000000000: c4 inva lid
446 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
447 VALIDATOR: 0000000000000001: e3 f1 jrcx z 0xfffffffffffffff4
448 VALIDATOR: ERROR: Instruction jumps to bad address
449 VALIDATOR: Checking block alignment and jump targets: 0 to 9
450 *** <input> IS UNSAFE ***
451 @vd-rval:
452 VALIDATOR: 0000000000000000: c4 inva lid
453 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
454 VALIDATOR: 0000000000000000: c4 inva lid
455 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
456 VALIDATOR: 0000000000000001: e3 f1 [P] dontcarecondjump %rip (s), %rcx (u), 0xfffffffffffffff4 (u)
457 VALIDATOR: ERROR: Instruction jumps to bad address
458 VALIDATOR: Checking jump targets: 0 to 9
459 VALIDATOR: Checking that basic blocks are aligned
460 *** <input> IS UNSAFE ***
461 @dis:
462 0000000000000000: c4 invalid
463 0000000000000001: e3 f1 jrcxz 0xfffffff ffffffff4
464 0000000000000003: 69 d8 20 90 90 90 imul %ebx, %eax , 0x90909020
465 @vdis:
466 0000000000000000: c4 invalid
467 0000000000000001: e3 f1 [P] dontcarecon djump %rip (s), %rcx (u), 0xfffffffffffffff4 (u)
468 0000000000000003: 69 d8 20 90 90 90 [P] dontcare %e bx (sz), %eax (u), 0x90909020 (u)
469 @rdfa_output:
470 0: [0] unrecognized instruction
471 return code: 1
472 @validators_disagree:
473 Because of error recovery.
474 ----------------------------------------------------------------------
475 @hex:
476 # AES
477 # aesenc %xmm0,%xmm1
478 66 0f 38 dc c8
479 90 90 90
480 # aeskeygenassist $0x1,%xmm0,%xmm1
481 66 0f 3a df c8 01
482 90 90
483 # aesimc %xmm0,%xmm1
484 66 0f 38 db c8
485 90 90 90
486 @rval:
487 VALIDATOR: 0000000000000000: 66 0f 38 dc inva lid
488 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
489 VALIDATOR: 0000000000000000: 66 0f 38 dc inva lid
490 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
491 VALIDATOR: 0000000000000004: c8 90 90 90 ente r 0x9090, 0x90
492 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
493 VALIDATOR: 0000000000000004: c8 90 90 90 ente r 0x9090, 0x90
494 VALIDATOR: ERROR: Illegal assignment to RSP
495 VALIDATOR: 0000000000000004: c8 90 90 90 ente r 0x9090, 0x90
496 VALIDATOR: ERROR: Illegal change to register RBP
497 VALIDATOR: 0000000000000008: 66 0f 3a df inva lid
498 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
499 VALIDATOR: 0000000000000008: 66 0f 3a df inva lid
500 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
501 VALIDATOR: 000000000000000c: c8 01 90 90 ente r 0x9001, 0x90
502 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
503 VALIDATOR: 000000000000000c: c8 01 90 90 ente r 0x9001, 0x90
504 VALIDATOR: ERROR: Illegal assignment to RSP
505 VALIDATOR: 000000000000000c: c8 01 90 90 ente r 0x9001, 0x90
506 VALIDATOR: ERROR: Illegal change to register RBP
507 VALIDATOR: 0000000000000010: 66 0f 38 db inva lid
508 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
509 VALIDATOR: 0000000000000010: 66 0f 38 db inva lid
510 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
511 VALIDATOR: 0000000000000014: c8 90 90 90 ente r 0x9090, 0x90
512 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
513 VALIDATOR: 0000000000000014: c8 90 90 90 ente r 0x9090, 0x90
514 VALIDATOR: ERROR: Illegal assignment to RSP
515 VALIDATOR: 0000000000000014: c8 90 90 90 ente r 0x9090, 0x90
516 VALIDATOR: ERROR: Illegal change to register RBP
517 VALIDATOR: Checking jump targets: 0 to 18
518 VALIDATOR: Checking that basic blocks are aligned
519 *** <input> IS UNSAFE ***
520 @rvald:
521 VALIDATOR: 0000000000000000: 66 0f 38 dc inva lid
522 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
523 VALIDATOR: 0000000000000000: 66 0f 38 dc inva lid
524 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
525 VALIDATOR: 0000000000000004: c8 90 90 90 ente r 0x9090, 0x90
526 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
527 VALIDATOR: 0000000000000004: c8 90 90 90 ente r 0x9090, 0x90
528 VALIDATOR: ERROR: Illegal assignment to RSP
529 VALIDATOR: 0000000000000004: c8 90 90 90 ente r 0x9090, 0x90
530 VALIDATOR: ERROR: Illegal change to register RBP
531 VALIDATOR: 0000000000000008: 66 0f 3a df inva lid
532 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
533 VALIDATOR: 0000000000000008: 66 0f 3a df inva lid
534 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
535 VALIDATOR: 000000000000000c: c8 01 90 90 ente r 0x9001, 0x90
536 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
537 VALIDATOR: 000000000000000c: c8 01 90 90 ente r 0x9001, 0x90
538 VALIDATOR: ERROR: Illegal assignment to RSP
539 VALIDATOR: 000000000000000c: c8 01 90 90 ente r 0x9001, 0x90
540 VALIDATOR: ERROR: Illegal change to register RBP
541 VALIDATOR: 0000000000000010: 66 0f 38 db inva lid
542 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
543 VALIDATOR: 0000000000000010: 66 0f 38 db inva lid
544 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
545 VALIDATOR: 0000000000000014: c8 90 90 90 ente r 0x9090, 0x90
546 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
547 VALIDATOR: 0000000000000014: c8 90 90 90 ente r 0x9090, 0x90
548 VALIDATOR: ERROR: Illegal assignment to RSP
549 VALIDATOR: 0000000000000014: c8 90 90 90 ente r 0x9090, 0x90
550 VALIDATOR: ERROR: Illegal change to register RBP
551 VALIDATOR: Checking block alignment and jump targets: 0 to 18
552 *** <input> IS UNSAFE ***
553 @vd-rval:
554 VALIDATOR: 0000000000000000: 66 0f 38 dc inva lid
555 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
556 VALIDATOR: 0000000000000000: 66 0f 38 dc inva lid
557 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
558 VALIDATOR: 0000000000000004: c8 90 90 90 [P] dontcare(illegal)
559 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
560 VALIDATOR: 0000000000000008: 66 0f 3a df inva lid
561 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
562 VALIDATOR: 0000000000000008: 66 0f 3a df inva lid
563 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
564 VALIDATOR: 000000000000000c: c8 01 90 90 [P] dontcare(illegal)
565 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
566 VALIDATOR: 0000000000000010: 66 0f 38 db inva lid
567 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
568 VALIDATOR: 0000000000000010: 66 0f 38 db inva lid
569 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
570 VALIDATOR: 0000000000000014: c8 90 90 90 [P] dontcare(illegal)
571 VALIDATOR: ERROR: This instruction has been marked illegal by Native Client
572 VALIDATOR: Checking jump targets: 0 to 18
573 VALIDATOR: Checking that basic blocks are aligned
574 *** <input> IS UNSAFE ***
575 @dis:
576 0000000000000000: 66 0f 38 dc invalid
577 0000000000000004: c8 90 90 90 enter 0x9090, 0 x90
578 0000000000000008: 66 0f 3a df invalid
579 000000000000000c: c8 01 90 90 enter 0x9001, 0 x90
580 0000000000000010: 66 0f 38 db invalid
581 0000000000000014: c8 90 90 90 enter 0x9090, 0 x90
582 @vdis:
583 0000000000000000: 66 0f 38 dc invalid
584 0000000000000004: c8 90 90 90 [P] dontcare(il legal)
585 0000000000000008: 66 0f 3a df invalid
586 000000000000000c: c8 01 90 90 [P] dontcare(il legal)
587 0000000000000010: 66 0f 38 db invalid
588 0000000000000014: c8 90 90 90 [P] dontcare(il legal)
589 @rdfa_output:
590 0: [0] unrecognized instruction
591 8: [0] unrecognized instruction
592 10: [0] unrecognized instruction
593 return code: 1
594 @validators_disagree:
595 Because of error recovery.
596 errors reported by old validator but not by rdfa one:
597 0x4
598 0xc
599 0x14
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/64/size_error.test ('k') | src/trusted/validator_x86/testdata/64/sse4data16.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698