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

Side by Side Diff: src/trusted/validator_x86/testdata/64/movs_test.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
1 BITS: 64
2 OUTCOME: invalid
3
1 # Test that we correctly check both implicit arguments to movsb 4 # Test that we correctly check both implicit arguments to movsb
2 5
3 # Valid case, within bundle 6 # Valid case, within bundle
4 # 0000000000000000: 89 f6 mov %esi, %esi 7 # 0000000000000000: 89 f6 mov %esi, %esi
5 # 0000000000000002: 49 8d 34 37 lea %rsi, [%r15 +%rsi*1] 8 # 0000000000000002: 49 8d 34 37 lea %rsi, [%r15 +%rsi*1]
6 # 0000000000000006: 89 ff mov %edi, %edi 9 # 0000000000000006: 89 ff mov %edi, %edi
7 # 0000000000000008: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1] 10 # 0000000000000008: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1]
8 # 000000000000000c: a4 movsb 11 # 000000000000000c: a4 movsb
9 89 f6 12 asm: mov %esi,%esi
10 49 8d 34 37 13 hex: 89 f6
11 89 ff 14
12 49 8d 3c 3f 15 asm: lea (%r15,%rsi,1),%rsi
13 a4 16 hex: 49 8d 34 37
17
18 asm: mov %edi,%edi
19 hex: 89 ff
20
21 asm: lea (%r15,%rdi,1),%rdi
22 hex: 49 8d 3c 3f
23
24 asm: movsb %ds:(%rsi),%es:(%rdi)
25 hex: a4
26
14 27
15 # Nop spacer. 28 # Nop spacer.
16 90 90 90 90 90 90 90 90 29 asm: nop; nop; nop; nop; nop; nop; nop; nop
17 90 90 90 90 90 90 90 90 30 hex: 90 90 90 90 90 90 90 90
18 90 31
32 asm: nop; nop; nop; nop; nop; nop; nop; nop
33 hex: 90 90 90 90 90 90 90 90
34
35 asm: nop
36 hex: 90
37
19 38
20 # invalid case, crosses bundle 39 # invalid case, crosses bundle
21 # 000000000000001e: 89 f6 mov %esi, %esi 40 # 000000000000001e: 89 f6 mov %esi, %esi
22 # 0000000000000020: 49 8d 34 37 lea %rsi, [%r15 +%rsi*1] 41 # 0000000000000020: 49 8d 34 37 lea %rsi, [%r15 +%rsi*1]
23 # 0000000000000024: 89 ff mov %edi, %edi 42 # 0000000000000024: 89 ff mov %edi, %edi
24 # 0000000000000026: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1] 43 # 0000000000000026: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1]
25 # 000000000000002a: a4 movsb 44 # 000000000000002a: a4 movsb
26 89 f6 45 asm: mov %esi,%esi
27 49 8d 34 37 46 hex: 89 f6
28 89 ff 47
29 49 8d 3c 3f 48 asm: lea (%r15,%rsi,1),%rsi
30 a4 49 hex: 49 8d 34 37
50 nc_out: Bad basic block alignment.
51
52 asm: mov %edi,%edi
53 hex: 89 ff
54
55 asm: lea (%r15,%rdi,1),%rdi
56 hex: 49 8d 3c 3f
57
58 asm: movsb %ds:(%rsi),%es:(%rdi)
59 hex: a4
60
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698