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

Side by Side Diff: src/trusted/validator_x86/testdata/64/legacy.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 # Legacy instructions which are invalid in 64-bit mode
5 # nops (90) are used to reconsile disassembler
6 # aaa
7 hex: 37
8 nc_out: ERROR: This instruction has been marked illegal by Native Client
9 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
10
11 # aad
12 hex: D5 0A
13 nc_out: ERROR: This instruction has been marked illegal by Native Client
14 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
15 nc_out: [at +1] ERROR: Invalid base register in memory offset
16
17 asm: nop; nop; nop; nop; nop
18 hex: 90 90 90 90 90
19
20 # aam
21 hex: D4 0A
22 nc_out: ERROR: This instruction has been marked illegal by Native Client
23 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
24 nc_out: [at +1] ERROR: Invalid base register in memory offset
25
26 asm: nop; nop; nop; nop; nop
27 hex: 90 90 90 90 90
28
29 # aas
30 hex: 3F
31 nc_out: ERROR: This instruction has been marked illegal by Native Client
32 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
33
34 # bound %eax, (%eax)
35 hex: 62 00
36 nc_out: ERROR: This instruction has been marked illegal by Native Client
37 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
38 nc_out: [at +1] ERROR: Invalid base register in memory offset
39
40 asm: nop; nop; nop; nop; nop
41 hex: 90 90 90 90 90
42
43 # daa
44 hex: 27
45 nc_out: ERROR: This instruction has been marked illegal by Native Client
46 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
47
48 # das
49 hex: 2F
50 nc_out: ERROR: This instruction has been marked illegal by Native Client
51 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
52
53 # pusha
54 hex: 60
55 nc_out: ERROR: This instruction has been marked illegal by Native Client
56 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
57
58
59 # Some undocumented instructions
60 # icebp
61 hex: F1
62 nc_out: ERROR: This instruction has been marked illegal by Native Client
63
64 # salc
65 hex: D6
66 nc_out: ERROR: This instruction has been marked illegal by Native Client
67 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
68
69
70 # Instruction below could be valid in 64-bit code and could be not valid
71 # depending on CPUID return values.
72 # lahf
73 asm: lahf
74 hex: 9F
75 nc_out: ERROR: This instruction has been marked illegal by Native Client
76
77 # sahf
78 asm: sahf
79 hex: 9E
80 nc_out: ERROR: This instruction has been marked illegal by Native Client
81
82
83 # Legacy instructions which are valid in 64-bit mode
84 # xlat (%ebx,%al)
85 asm: xlat %ds:(%rbx)
86 hex: D7
87 nc_out: ERROR: This instruction has been marked illegal by Native Client
88 nc_out: ERROR: Segment memory reference not allowed
89
90
91 # Nop padding for the next instruction not to cross bundle boundary.
92 asm: nop
93 hex: 90
94
95
96 # xlat (%rbx,%al)
97 asm: rex.W xlat %ds:(%rbx)
98 hex: 48 D7
99 nc_out: ERROR: This instruction has been marked illegal by Native Client
100 nc_out: ERROR: Segment memory reference not allowed
101
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698