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

Side by Side Diff: src/trusted/validator_x86/testdata/64/bt.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 # Test illegal bit commands.
5 # btr %rax,(%rax)
6 asm: btr %rax,(%rax)
7 hex: 48 0F B3 00
8 nc_out: ERROR: This instruction has been marked illegal by Native Client
9 nc_out: ERROR: Invalid base register in memory offset
10
11 # bts %rax,(%rax)
12 asm: bts %rax,(%rax)
13 hex: 48 0F AB 00
14 nc_out: ERROR: This instruction has been marked illegal by Native Client
15 nc_out: ERROR: Invalid base register in memory offset
16
17 # btc %rax,(%rax)
18 asm: btc %rax,(%rax)
19 hex: 48 0F BB 00
20 nc_out: ERROR: This instruction has been marked illegal by Native Client
21 nc_out: ERROR: Invalid base register in memory offset
22
23 # btrl $0x1,(%rax)
24 asm: btrl $0x1,(%rax)
25 hex: 0F BA 30 01
26 nc_out: ERROR: Invalid base register in memory offset
27
28 # btsl $0x1,(%rax)
29 asm: btsl $0x1,(%rax)
30 hex: 0F BA 28 01
31 nc_out: ERROR: Invalid base register in memory offset
32
33 # btcl $0x1,(%rax)
34 asm: btcl $0x1,(%rax)
35 hex: 0F BA 38 01
36 nc_out: ERROR: Invalid base register in memory offset
37
38 # Test legal bit commands
39 # btw $0x1,(%rsp)
40 asm: btw $0x1,(%rsp)
41 hex: 66 0F BA 24 24 01
42
43
44 # Align so that next instruction does not cross bundle boundary.
45 asm: nop; nop
46 hex: 90 90
47
48
49 # btl $0x1,(%rsp)
50 asm: btl $0x1,(%rsp)
51 hex: 0F BA 24 24 01
52
53 # btq $0x1,(%rsp)
54 asm: btq $0x1,(%rsp)
55 hex: 48 0F BA 24 24 01
56
57 # btrl $0x1,(%rsp)
58 asm: btrl $0x1,(%rsp)
59 hex: 0F BA 34 24 01
60
61 # btsl $0x1,(%rsp)
62 asm: btsl $0x1,(%rsp)
63 hex: 0F BA 2C 24 01
64
65 # btcl $0x1,(%rsp)
66 asm: btcl $0x1,(%rsp)
67 hex: 0F BA 3C 24 01
68
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698