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

Side by Side Diff: src/trusted/validator_x86/testdata/64/bswap.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 # Test handling of different sizes for instruction bswap.
3 # 32-bit example
4 0f c8
5 # 64-bit example
6 48 0f c8
7 # Bad case, we should not parse 16-bit operands
8 66 0f c8
9
10 @rval:
11 VALIDATOR: 0000000000000005: 66 0f c8 inva lid
12 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
13 VALIDATOR: 0000000000000005: 66 0f c8 inva lid
14 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
15 VALIDATOR: Checking jump targets: 0 to 8
16 VALIDATOR: Checking that basic blocks are aligned
17 *** <input> IS UNSAFE ***
18 @dis:
19 0000000000000000: 0f c8 bswap %eax
20 0000000000000002: 48 0f c8 bswap %rax
21 0000000000000005: 66 0f c8 invalid
22 @vdis:
23 0000000000000000: 0f c8 [P] dontcare %e ax (su)
24 0000000000000002: 48 0f c8 [P] dontcare %r ax (su)
25 0000000000000005: 66 0f c8 invalid
26 @rdfa_output:
27 5: [0] unrecognized instruction
28 return code: 1
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/64/bsr-mask.test ('k') | src/trusted/validator_x86/testdata/64/bt.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698