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

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

Issue 11194045: Change BKPT and UDF encodings on ARM. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix one test that was using bkpt #0x6666. 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 #ifndef NACL_TRUSTED_BUT_NOT_TCB 6 #ifndef NACL_TRUSTED_BUT_NOT_TCB
7 #error This file is not meant for use in the TCB 7 #error This file is not meant for use in the TCB
8 #endif 8 #endif
9 9
10 #include "native_client/src/trusted/validator_arm/inst_classes_testers.h" 10 #include "native_client/src/trusted/validator_arm/inst_classes_testers.h"
(...skipping 2399 matching lines...) Expand 10 before | Expand all | Expand 10 after
2410 ApplySanityChecks(Instruction inst, 2410 ApplySanityChecks(Instruction inst,
2411 const NamedClassDecoder& decoder) { 2411 const NamedClassDecoder& decoder) {
2412 NC_PRECOND(BarrierInstTester::ApplySanityChecks(inst, decoder)); 2412 NC_PRECOND(BarrierInstTester::ApplySanityChecks(inst, decoder));
2413 2413
2414 EXPECT_EQ(static_cast<uint32_t>(0xF), expected_decoder_.option.value(inst)) 2414 EXPECT_EQ(static_cast<uint32_t>(0xF), expected_decoder_.option.value(inst))
2415 << "Expected forbidden operands for option" << InstContents(); 2415 << "Expected forbidden operands for option" << InstContents();
2416 2416
2417 return true; 2417 return true;
2418 } 2418 }
2419 2419
2420 // RoadblockTester 2420 // PermanentlyUndefinedTester
2421 bool RoadblockTester::ApplySanityChecks(Instruction inst, 2421 bool PermanentlyUndefinedTester::ApplySanityChecks(Instruction inst,
2422 const NamedClassDecoder& decoder) { 2422 const NamedClassDecoder& decoder) {
2423 // Check if expected class name found. 2423 // Check if expected class name found.
2424 NC_PRECOND(CondDecoderTester::ApplySanityChecks(inst, decoder)); 2424 NC_PRECOND(CondDecoderTester::ApplySanityChecks(inst, decoder));
2425 2425
2426 return true; 2426 return true;
2427 } 2427 }
2428 2428
2429 } // namespace nacl_arm_test 2429 } // namespace nacl_arm_test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698