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

Side by Side Diff: src/trusted/validator_x86/testdata/64/prefix-3.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 # lock add %r15w, (%rsp)
5 asm: lock add %r15w,(%rsp)
6 hex: 66 F0 44 01 3C 24
7
8 hex: F0 66 44 01 3C 24
9
10 # fs mov %ax,%r8w
11 asm: fs; mov %ax,%r8w
12 hex: 64 66 41 89 C0
13 nc_out: ERROR: More than one (non-REX) prefix byte specified
14 nc_out: ERROR: Uses a segment prefix byte not allowed by Native Client
15
16 asm: data16; fs; mov %eax,%r8d
17 hex: 66 64 41 89 C0
18 nc_out: ERROR: More than one (non-REX) prefix byte specified
19 nc_out: ERROR: Uses a segment prefix byte not allowed by Native Client
20
21 # mov %edi,%edi
22 # lea (%r15,%rdi),%rdi
23 # 0x66 rep stos %rax,%es:(%rdi)
24 asm: mov %edi,%edi
25 hex: 89 FF
26
27 asm: lea (%r15,%rdi,1),%rdi
28 hex: 49 8D 3C 3F
29
30 hex: 66 F3 48 AB
31 nc_out: ERROR: More than one (non-REX) prefix byte specified
32 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
33 nc_out: ERROR: Use of REP (F3) prefix for instruction not allowed by Native Clie nt
34 nc_out: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native C lient
35
36 asm: mov %edi,%edi
37 hex: 89 FF
38
39 asm: lea (%r15,%rdi,1),%rdi
40 hex: 49 8D 3C 3F
41
42 hex: F3 66 48 AB
43 nc_out: ERROR: More than one (non-REX) prefix byte specified
44 nc_out: ERROR: Opcode sequence doesn't define a valid x86 instruction
45 nc_out: ERROR: Use of REP (F3) prefix for instruction not allowed by Native Clie nt
46 nc_out: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native C lient
47
48 # 66 nop
49 asm: xchg %ax,%ax
50 hex: 66 90
51
52 # 66 66 nop
53 hex: 66 66 90
54 nc_out: ERROR: More than one (non-REX) prefix byte specified
55 nc_out: ERROR: Duplicating a prefix byte is not allowed by Native Client
56
57 # 66 66 66 nop
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 # white-listed nop
63 hex: 66 66 66 2E 0F 1F 84 00 00 00 00 00
64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698