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

Unified Diff: src/trusted/validator_ragel/validator_x86_32.rl

Issue 1234393005: A mechanism to identify/forbid/"rewrite" non-temporal instructions (and other) (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fixing nits Created 5 years, 5 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/validator_x86_32.rl
diff --git a/src/trusted/validator_ragel/validator_x86_32.rl b/src/trusted/validator_ragel/validator_x86_32.rl
index d3ec12f61b2770277cdcc3a17347a049356a8b45..c55269d0f6fc539c42f111a9fb14d8f28a198899 100644
--- a/src/trusted/validator_ragel/validator_x86_32.rl
+++ b/src/trusted/validator_ragel/validator_x86_32.rl
@@ -58,6 +58,10 @@
include cpuid_actions
"native_client/src/trusted/validator_ragel/parse_instruction.rl";
+ action unsupported_instruction {
+ instruction_info_collected |= UNSUPPORTED_INSTRUCTION;
+ }
+
include decode_x86_32 "validator_x86_32_instruction.rl";
special_instruction =

Powered by Google App Engine
This is Rietveld 408576698