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

Unified Diff: src/trusted/validator_arm/baseline_classes.h

Issue 10381030: Clean up testing of instructions. Allow testing to quit if test pattern tests (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 7 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_arm/baseline_classes.h
===================================================================
--- src/trusted/validator_arm/baseline_classes.h (revision 8506)
+++ src/trusted/validator_arm/baseline_classes.h (working copy)
@@ -373,6 +373,17 @@
NACL_DISALLOW_COPY_AND_ASSIGN(Binary3RegisterImmedShiftedOp);
};
+// Defines Binary3RegisterImmedShiftedOp instructions where Rn=sp is
+// deprecated.
+class Binary3RegisterImmedShiftedOpRnNotSp
+ : public Binary3RegisterImmedShiftedOp {
+ public:
+ inline Binary3RegisterImmedShiftedOpRnNotSp()
+ : Binary3RegisterImmedShiftedOp() {}
+ virtual ~Binary3RegisterImmedShiftedOpRnNotSp() {}
+ virtual SafetyLevel safety(Instruction i) const;
+};
+
// Models a 4-register-shifted binary operation of the form:
// Op(S)<c> <Rd>, <Rn>, <Rm>, <type> <Rs>
// +--------+--------------+--+--------+--------+--------+--+----+--+--------+

Powered by Google App Engine
This is Rietveld 408576698