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

Side by Side Diff: src/trusted/validator_x86/testdata/64/nops.tf

Issue 10908137: (abandoned) Validator tests: convert hexes to TFs and run on bots (for prod. validator only) (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: restore 'read overflow' and 'SegmentationError' Created 8 years, 3 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 BITS: 64
2 OUTCOME: invalid
3
4 # Note: sequences of ordinary nops (90 90 90 ...) are added
5 # for bundle alignemnt.
6
7 # Recommended nops
8 asm: nop
9 hex: 90
10
11 asm: xchg %ax,%ax
12 hex: 66 90
13
14 asm: nopl (%rax)
15 hex: 0F 1F 00
16
17 hex: 0F 1F 40 00
18
19 hex: 0F 1F 44 00 00
20
21 hex: 66 0F 1F 44 00 00
22
23 hex: 0F 1F 80 00 00 00 00
24
25 asm: nop; nop; nop; nop
26 hex: 90 90 90 90
27
28 hex: 0F 1F 84 00 00 00 00 00
29
30 hex: 66 0F 1F 84 00 00 00 00 00
31
32 # Large nops
33 hex: 66 2E 0F 1F 84 00 00 00 00 00
34
35 asm: nop; nop; nop; nop; nop
36 hex: 90 90 90 90 90
37
38 hex: 66 66 2E 0F 1F 84 00 00 00 00 00
39
40 hex: 66 66 66 2E 0F 1F 84 00 00 00 00 00
41
42 asm: nop; nop; nop; nop; nop; nop; nop; nop; nop
43 hex: 90 90 90 90 90 90 90 90 90
44
45 hex: 66 66 66 66 2E 0F 1F 84 00 00 00 00 00
46
47 hex: 66 66 66 66 66 2E 0F 1F 84 00 00 00 00 00
48
49 hex: 66 66 66 66 66 66 2E 0F 1F 84 00 00 00 00 00
50 nc_out: [at +5] Bad basic block alignment.
51
52
53 # Illegal nops
54 hex: 66 66 90
55 nc_out: ERROR: More than one (non-REX) prefix byte specified
56 nc_out: ERROR: Duplicating a prefix byte is not allowed by Native Client
57
58 hex: 66 66 66 90
59 nc_out: ERROR: More than one (non-REX) prefix byte specified
60 nc_out: ERROR: Duplicating a prefix byte is not allowed by Native Client
61
62 hex: 3E 0F 1F 84 00 00 00 00 00
63 nc_out: ERROR: Uses a segment prefix byte not allowed by Native Client
64
65 asm: nop; nop; nop; nop; nop; nop
66 hex: 90 90 90 90 90 90
67
68 hex: 66 3E 0F 1F 84 00 00 00 00 00
69 nc_out: ERROR: More than one (non-REX) prefix byte specified
70 nc_out: ERROR: Uses a segment prefix byte not allowed by Native Client
71 nc_out: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native C lient
72
73 hex: 66 66 0F 1F 84 00 00 00 00 00
74 nc_out: ERROR: More than one (non-REX) prefix byte specified
75 nc_out: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native C lient
76 nc_out: ERROR: Duplicating a prefix byte is not allowed by Native Client
77
78
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698