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

Side by Side Diff: src/trusted/validator_x86/testdata/64/stosd-bad.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 # Show an example of an invalid (implicit) reference to a segment register 4 # Show an example of an invalid (implicit) reference to a segment register
2 # (in this case missing a 32-bit zero extending operation before the LEA): 5 # (in this case missing a 32-bit zero extending operation before the LEA):
3 # 6 #
4 # lea %rdi, [%r15+%rdi*1] 7 # lea %rdi, [%r15+%rdi*1]
5 # stosd 8 # stosd
6 49 8d 3c 3f 9 asm: lea (%r15,%rdi,1),%rdi
7 ab 10 hex: 49 8d 3c 3f
11
12 asm: stos %eax,%es:(%rdi)
13 hex: ab
14 nc_out: ERROR: Segment memory reference not allowed
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698