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

Side by Side Diff: src/trusted/validator_arm/inst_classes_testers.h

Issue 11194045: Change BKPT and UDF encodings on ARM. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fixes proposed by mseaborn. I'll submit try jobs with them, and factor things out with #define tomo… Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 // Defines decoder testers for decoder classes. 7 // Defines decoder testers for decoder classes.
8 8
9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_ 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_
10 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_ 10 #define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_
(...skipping 2265 matching lines...) Expand 10 before | Expand all | Expand 10 after
2276 explicit InstructionBarrierTester(const NamedClassDecoder& decoder) 2276 explicit InstructionBarrierTester(const NamedClassDecoder& decoder)
2277 : BarrierInstTester(decoder) {} 2277 : BarrierInstTester(decoder) {}
2278 virtual bool ApplySanityChecks( 2278 virtual bool ApplySanityChecks(
2279 nacl_arm_dec::Instruction inst, 2279 nacl_arm_dec::Instruction inst,
2280 const NamedClassDecoder& decoder); 2280 const NamedClassDecoder& decoder);
2281 2281
2282 private: 2282 private:
2283 NACL_DISALLOW_COPY_AND_ASSIGN(InstructionBarrierTester); 2283 NACL_DISALLOW_COPY_AND_ASSIGN(InstructionBarrierTester);
2284 }; 2284 };
2285 2285
2286 // Implements a decoder tester for a Roadblock. 2286 // Implements a decoder tester for a PermanentlyUndefined.
2287 class RoadblockTester : public CondDecoderTester { 2287 class PermanentlyUndefinedTester : public CondDecoderTester {
2288 public: 2288 public:
2289 explicit RoadblockTester(const NamedClassDecoder& decoder) 2289 explicit PermanentlyUndefinedTester(const NamedClassDecoder& decoder)
2290 : CondDecoderTester(decoder) {} 2290 : CondDecoderTester(decoder) {}
2291 virtual bool ApplySanityChecks( 2291 virtual bool ApplySanityChecks(
2292 nacl_arm_dec::Instruction inst, 2292 nacl_arm_dec::Instruction inst,
2293 const NamedClassDecoder& decoder); 2293 const NamedClassDecoder& decoder);
2294 2294
2295 private: 2295 private:
2296 NACL_DISALLOW_COPY_AND_ASSIGN(RoadblockTester); 2296 NACL_DISALLOW_COPY_AND_ASSIGN(PermanentlyUndefinedTester);
2297 }; 2297 };
2298 2298
2299 } // namespace nacl_arm_test 2299 } // namespace nacl_arm_test
2300 2300
2301 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_ 2301 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_INST_CLASSES_TESTERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698