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

Unified Diff: src/trusted/validator_arm/actual_classes.cc

Issue 11569019: Fix uses in ARM table media_instructions. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years 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
« no previous file with comments | « src/trusted/validator_arm/actual_classes.h ('k') | src/trusted/validator_arm/armv7.table » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator_arm/actual_classes.cc
===================================================================
--- src/trusted/validator_arm/actual_classes.cc (revision 10465)
+++ src/trusted/validator_arm/actual_classes.cc (working copy)
@@ -778,19 +778,4 @@
return RegisterList(n.reg(i));
}
-// Unary1RegisterBitRangeMsbGeLsb
-SafetyLevel Unary1RegisterBitRangeMsbGeLsb::safety(Instruction i) const {
- if (d.reg(i).Equals(Register::Pc()) ||
- msb.value(i) < lsb.value(i))
- return UNPREDICTABLE;
-
- // Note: We would restrict out PC as well for Rd in NaCl, but no need
- // since the ARM restriction doesn't allow it anyway.
- return MAY_BE_SAFE;
-}
-
-RegisterList Unary1RegisterBitRangeMsbGeLsb::defs(Instruction i) const {
- return RegisterList(d.reg(i));
-}
-
} // namespace nacl_arm_dec
« no previous file with comments | « src/trusted/validator_arm/actual_classes.h ('k') | src/trusted/validator_arm/armv7.table » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698