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

Side by Side Diff: src/trusted/validator/x86/testing/tf/converted/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: fix for windows (temp files and crlf) 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 # Test that we correctly check both implicit arguments to movsb
5
6 # Valid case, within bundle
7 # 0000000000000000: 89 f6 mov %esi, %esi
8 # 0000000000000002: 49 8d 34 37 lea %rsi, [%r15 +%rsi*1]
9 # 0000000000000006: 89 ff mov %edi, %edi
10 # 0000000000000008: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1]
11 # 000000000000000c: a4 movsb
12 asm: mov %esi,%esi
13 hex: 89 f6
14
15 asm: lea (%r15,%rsi,1),%rsi
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
27
28 # Nop spacer.
29 asm: nop; nop; nop; nop; nop; nop; nop; nop
30 hex: 90 90 90 90 90 90 90 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
38
39 # invalid case, crosses bundle
40 # 000000000000001e: 89 f6 mov %esi, %esi
41 # 0000000000000020: 49 8d 34 37 lea %rsi, [%r15 +%rsi*1]
42 # 0000000000000024: 89 ff mov %edi, %edi
43 # 0000000000000026: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1]
44 # 000000000000002a: a4 movsb
45 asm: mov %esi,%esi
46 hex: 89 f6
47
48 asm: lea (%r15,%rsi,1),%rsi
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