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

Side by Side Diff: src/trusted/validator_x86/testdata/64/addrex2.test

Issue 625923004: Delete old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 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 @hex:
2 # Sample test to see if we recognize multiple REX prefixes (40 and 41 below).
3 # Instruction is: add %r11d, %eax
4 40 41 01 C3
5 @val:
6 VALIDATOR: 0000000000000000: 40 41 01 c3 add %r11d, %eax
7 VALIDATOR: ERROR: Multiple use of REX prefix not allowed
8 VALIDATOR: Checking jump targets: 0 to 4
9 VALIDATOR: Checking that basic blocks are aligned
10 *** <input> IS UNSAFE ***
11 @rval:
12 VALIDATOR: 0000000000000000: 40 41 01 c3 add %r11d, %eax
13 VALIDATOR: ERROR: Multiple use of REX prefix not allowed
14 VALIDATOR: Checking jump targets: 0 to 4
15 VALIDATOR: Checking that basic blocks are aligned
16 *** <input> IS UNSAFE ***
17 @rvald:
18 VALIDATOR: 0000000000000000: 40 41 01 c3 add %r11d, %eax
19 VALIDATOR: ERROR: Multiple use of REX prefix not allowed
20 VALIDATOR: Checking block alignment and jump targets: 0 to 4
21 *** <input> IS UNSAFE ***
22 @vd-rval:
23 VALIDATOR: 0000000000000000: 40 41 01 c3 add %r11d, %eax
24 VALIDATOR: ERROR: Multiple use of REX prefix not allowed
25 VALIDATOR: Checking jump targets: 0 to 4
26 VALIDATOR: Checking that basic blocks are aligned
27 *** <input> IS UNSAFE ***
28 @dis:
29 0000000000000000: 40 41 01 c3 add %r11d, %eax
30 @vdis:
31 0000000000000000: 40 41 01 c3 add %r11d, %eax
32 @rdfa_output:
33 0: [0] unrecognized instruction
34 return code: 1
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/64/addrex.test ('k') | src/trusted/validator_x86/testdata/64/ambig-segment.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698