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

Side by Side Diff: src/trusted/validator_x86/testdata/64/sse4data16.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 # SSE4 uses opcode extension which looks like REP prefix.
3 # Since two prefixes are not allowed, 16-bit form of these perfectly safe
4 # instructions is invalid.
5
6 # popcnt %ax, %bx
7 66 f3 0f b8 d8
8 f3 66 0f b8 d8
9 # lzcnt %cx, %dx
10 66 f3 0f bd d1
11 f3 66 0f bd d1
12 # tzcnt %bp, %bx
13 66 f3 0f bc dd
14 f3 66 0f bc dd
15 @rval:
16 VALIDATOR: 0000000000000000: 66 f3 0f b8 d8 popc nt %bx, %ax
17 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
18 VALIDATOR: 0000000000000005: f3 66 0f b8 d8 popc nt %bx, %ax
19 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
20 VALIDATOR: 000000000000000a: 66 f3 0f bd d1 lzcn t %dx, %cx
21 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
22 VALIDATOR: 000000000000000f: f3 66 0f bd d1 lzcn t %dx, %cx
23 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
24 VALIDATOR: 0000000000000014: 66 f3 0f bc dd tzcn t %bx, %bp
25 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
26 VALIDATOR: 0000000000000019: f3 66 0f bc dd tzcn t %bx, %bp
27 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
28 VALIDATOR: Checking jump targets: 0 to 1e
29 VALIDATOR: Checking that basic blocks are aligned
30 *** <input> IS UNSAFE ***
31 @dis:
32 0000000000000000: 66 f3 0f b8 d8 popcnt %bx, %ax
33 0000000000000005: f3 66 0f b8 d8 popcnt %bx, %ax
34 000000000000000a: 66 f3 0f bd d1 lzcnt %dx, %cx
35 000000000000000f: f3 66 0f bd d1 lzcnt %dx, %cx
36 0000000000000014: 66 f3 0f bc dd tzcnt %bx, %bp
37 0000000000000019: f3 66 0f bc dd tzcnt %bx, %bp
38 @rdfa_output:
39 0: [0] unrecognized instruction
40 5: [1] unrecognized instruction
41 a: [2] unrecognized instruction
42 f: [3] unrecognized instruction
43 14: [4] unrecognized instruction
44 19: [5] unrecognized instruction
45 return code: 1
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/64/sse.test ('k') | src/trusted/validator_x86/testdata/64/stack_regs.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698