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

Unified Diff: src/trusted/validator_ragel/testdata/32/lzcnt.test

Issue 18553004: Add more instructions to text-based spec. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: cmp fix Created 7 years, 6 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_ragel/testdata/32/lzcnt.test
diff --git a/src/trusted/validator_ragel/testdata/32/lzcnt.test b/src/trusted/validator_ragel/testdata/32/lzcnt.test
index 88d0b8fd130b645e086ea6305a3656f57b8bf37c..c7b5726c480432b02d32e521facbf2314c6d616c 100644
--- a/src/trusted/validator_ragel/testdata/32/lzcnt.test
+++ b/src/trusted/validator_ragel/testdata/32/lzcnt.test
@@ -1,5 +1,10 @@
@hex:
- # Test if we recognize lzcnt as a bsr with REP prefix.
+ # Make sure that lzcnt is not decoded as bsr with REP prefix.
+ # lzcnt %ebx,%eax
f3 0f bd c3
+@dis:
+ 0: f3 0f bd c3 lzcnt %ebx,%eax
@rdfa_output:
return code: 0
+@spec:
+ 0: unrecognized instruction 'lzcnt %ebx,%eax'

Powered by Google App Engine
This is Rietveld 408576698