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

Side by Side Diff: src/trusted/validator_arm/gen/arm32_decode_synchronization_primitives_tests.cc

Issue 12095039: Add testing of generated (ARM) baseline decoders using hand-written decoders. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 years, 10 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 2013 The Native Client Authors. All rights reserved. 2 * Copyright 2013 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 // DO NOT EDIT: GENERATED CODE 7 // DO NOT EDIT: GENERATED CODE
8 8
9 #ifndef NACL_TRUSTED_BUT_NOT_TCB 9 #ifndef NACL_TRUSTED_BUT_NOT_TCB
10 #error This file is not meant for use in the TCB 10 #error This file is not meant for use in the TCB
11 #endif 11 #endif
12 12
13 13
14 #include "gtest/gtest.h" 14 #include "gtest/gtest.h"
15 #include "native_client/src/trusted/validator_arm/actual_vs_baseline.h" 15 #include "native_client/src/trusted/validator_arm/actual_vs_baseline.h"
16 #include "native_client/src/trusted/validator_arm/baseline_vs_baseline.h"
16 #include "native_client/src/trusted/validator_arm/actual_classes.h" 17 #include "native_client/src/trusted/validator_arm/actual_classes.h"
17 #include "native_client/src/trusted/validator_arm/baseline_classes.h" 18 #include "native_client/src/trusted/validator_arm/baseline_classes.h"
18 #include "native_client/src/trusted/validator_arm/inst_classes_testers.h" 19 #include "native_client/src/trusted/validator_arm/inst_classes_testers.h"
19 #include "native_client/src/trusted/validator_arm/arm_helpers.h" 20 #include "native_client/src/trusted/validator_arm/arm_helpers.h"
20 #include "native_client/src/trusted/validator_arm/gen/arm32_decode_named_bases.h " 21 #include "native_client/src/trusted/validator_arm/gen/arm32_decode_named_bases.h "
21 22
22 using nacl_arm_dec::Instruction; 23 using nacl_arm_dec::Instruction;
23 using nacl_arm_dec::ClassDecoder; 24 using nacl_arm_dec::ClassDecoder;
24 using nacl_arm_dec::Register; 25 using nacl_arm_dec::Register;
25 using nacl_arm_dec::RegisterList; 26 using nacl_arm_dec::RegisterList;
(...skipping 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 DeprecatedTester_Case8 tester; 1027 DeprecatedTester_Case8 tester;
1027 tester.Test("cccc00010b00nnnntttt00001001tttt"); 1028 tester.Test("cccc00010b00nnnntttt00001001tttt");
1028 } 1029 }
1029 1030
1030 } // namespace nacl_arm_test 1031 } // namespace nacl_arm_test
1031 1032
1032 int main(int argc, char* argv[]) { 1033 int main(int argc, char* argv[]) {
1033 testing::InitGoogleTest(&argc, argv); 1034 testing::InitGoogleTest(&argc, argv);
1034 return RUN_ALL_TESTS(); 1035 return RUN_ALL_TESTS();
1035 } 1036 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698