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

Unified Diff: src/trusted/validator_x86/testdata/64/mv_ebp_add_crossing.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 side-by-side diff with in-line comments
Download patch
Index: src/trusted/validator_x86/testdata/64/mv_ebp_add_crossing.tf
diff --git a/src/trusted/validator_x86/testdata/64/mv_ebp_add_crossing.tf b/src/trusted/validator_x86/testdata/64/mv_ebp_add_crossing.tf
new file mode 100644
index 0000000000000000000000000000000000000000..ab38de79529d7130e23eeb4322e6bd690a27c8ef
--- /dev/null
+++ b/src/trusted/validator_x86/testdata/64/mv_ebp_add_crossing.tf
@@ -0,0 +1,19 @@
+BITS: 64
+OUTCOME: invalid
+
+# Show that atomic sequences can't cross block boundaries.
+# Example:
+# mov %ebp, %r11d
+# add %rbp, %r15"
+# where add is in new block.
+asm: nop; nop; nop; nop; nop; nop; nop; nop; nop; nop; nop; nop; nop; nop; nop; nop
+hex: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
+
+asm: nop; nop; nop; nop; nop; nop; nop; nop; nop; nop; nop; nop; nop
+hex: 90 90 90 90 90 90 90 90 90 90 90 90 90
+
+asm: mov %r11d,%ebp; add %r15,%rbp
+hex: 44 89 dd 4c 01 fd
+nc_out: [at +3] Bad basic block alignment.
+
+

Powered by Google App Engine
This is Rietveld 408576698