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

Side by Side Diff: src/trusted/validator_arm/gen/arm32_decode_named_decoder.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The Native Client Authors. All rights reserved. 2 * Copyright 2012 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
(...skipping 29 matching lines...) Expand all
40 // that can be returned by the API function "decode_named". They 40 // that can be returned by the API function "decode_named". They
41 // are created once as instance fields, and then returned 41 // are created once as instance fields, and then returned
42 // by the table methods above. This speeds up the code since 42 // by the table methods above. This speeds up the code since
43 // the class decoders need to only be bulit once (and reused 43 // the class decoders need to only be bulit once (and reused
44 // for each call to "decode_named"). 44 // for each call to "decode_named").
45 const NamedBinary2RegisterImmedShiftedTest_Cmn_Rule_33_A1_P76 Binary2RegisterI mmedShiftedTest_Cmn_Rule_33_A1_P76_instance_; 45 const NamedBinary2RegisterImmedShiftedTest_Cmn_Rule_33_A1_P76 Binary2RegisterI mmedShiftedTest_Cmn_Rule_33_A1_P76_instance_;
46 const NamedBinary2RegisterImmedShiftedTest_Cmp_Rule_36_A1_P82 Binary2RegisterI mmedShiftedTest_Cmp_Rule_36_A1_P82_instance_; 46 const NamedBinary2RegisterImmedShiftedTest_Cmp_Rule_36_A1_P82 Binary2RegisterI mmedShiftedTest_Cmp_Rule_36_A1_P82_instance_;
47 const NamedBinary2RegisterImmedShiftedTest_Teq_Rule_228_A1_P450 Binary2Registe rImmedShiftedTest_Teq_Rule_228_A1_P450_instance_; 47 const NamedBinary2RegisterImmedShiftedTest_Teq_Rule_228_A1_P450 Binary2Registe rImmedShiftedTest_Teq_Rule_228_A1_P450_instance_;
48 const NamedBinary2RegisterImmedShiftedTest_Tst_Rule_231_A1_P456 Binary2Registe rImmedShiftedTest_Tst_Rule_231_A1_P456_instance_; 48 const NamedBinary2RegisterImmedShiftedTest_Tst_Rule_231_A1_P456 Binary2Registe rImmedShiftedTest_Tst_Rule_231_A1_P456_instance_;
49 const NamedBinary3RegisterImmedShiftedOp_Adc_Rule_2_A1_P16 Binary3RegisterImme dShiftedOp_Adc_Rule_2_A1_P16_instance_; 49 const NamedBinary3RegisterImmedShiftedOp_Adc_Rule_2_A1_P16 Binary3RegisterImme dShiftedOp_Adc_Rule_2_A1_P16_instance_;
50 const NamedBinary3RegisterImmedShiftedOp_Add_Rule_6_A1_P24 Binary3RegisterImme dShiftedOp_Add_Rule_6_A1_P24_instance_;
51 const NamedBinary3RegisterImmedShiftedOp_And_Rule_7_A1_P36 Binary3RegisterImme dShiftedOp_And_Rule_7_A1_P36_instance_; 50 const NamedBinary3RegisterImmedShiftedOp_And_Rule_7_A1_P36 Binary3RegisterImme dShiftedOp_And_Rule_7_A1_P36_instance_;
52 const NamedBinary3RegisterImmedShiftedOp_Bic_Rule_20_A1_P52 Binary3RegisterImm edShiftedOp_Bic_Rule_20_A1_P52_instance_; 51 const NamedBinary3RegisterImmedShiftedOp_Bic_Rule_20_A1_P52 Binary3RegisterImm edShiftedOp_Bic_Rule_20_A1_P52_instance_;
53 const NamedBinary3RegisterImmedShiftedOp_Eor_Rule_45_A1_P96 Binary3RegisterImm edShiftedOp_Eor_Rule_45_A1_P96_instance_; 52 const NamedBinary3RegisterImmedShiftedOp_Eor_Rule_45_A1_P96 Binary3RegisterImm edShiftedOp_Eor_Rule_45_A1_P96_instance_;
54 const NamedBinary3RegisterImmedShiftedOp_Orr_Rule_114_A1_P230 Binary3RegisterI mmedShiftedOp_Orr_Rule_114_A1_P230_instance_; 53 const NamedBinary3RegisterImmedShiftedOp_Orr_Rule_114_A1_P230 Binary3RegisterI mmedShiftedOp_Orr_Rule_114_A1_P230_instance_;
55 const NamedBinary3RegisterImmedShiftedOp_Rsb_Rule_143_P286 Binary3RegisterImme dShiftedOp_Rsb_Rule_143_P286_instance_; 54 const NamedBinary3RegisterImmedShiftedOp_Rsb_Rule_143_P286 Binary3RegisterImme dShiftedOp_Rsb_Rule_143_P286_instance_;
56 const NamedBinary3RegisterImmedShiftedOp_Rsc_Rule_146_A1_P292 Binary3RegisterI mmedShiftedOp_Rsc_Rule_146_A1_P292_instance_; 55 const NamedBinary3RegisterImmedShiftedOp_Rsc_Rule_146_A1_P292 Binary3RegisterI mmedShiftedOp_Rsc_Rule_146_A1_P292_instance_;
57 const NamedBinary3RegisterImmedShiftedOp_Sbc_Rule_152_A1_P304 Binary3RegisterI mmedShiftedOp_Sbc_Rule_152_A1_P304_instance_; 56 const NamedBinary3RegisterImmedShiftedOp_Sbc_Rule_152_A1_P304 Binary3RegisterI mmedShiftedOp_Sbc_Rule_152_A1_P304_instance_;
58 const NamedBinary3RegisterImmedShiftedOp_SubRule_213_A1_P422 Binary3RegisterIm medShiftedOp_SubRule_213_A1_P422_instance_; 57 const NamedBinary3RegisterImmedShiftedOpRnNotSp_Add_Rule_6_A1_P24 Binary3Regis terImmedShiftedOpRnNotSp_Add_Rule_6_A1_P24_instance_;
58 const NamedBinary3RegisterImmedShiftedOpRnNotSp_SubRule_213_A1_P422 Binary3Reg isterImmedShiftedOpRnNotSp_SubRule_213_A1_P422_instance_;
59 const NamedBinary3RegisterOp_Asr_Rule_15_A1_P42 Binary3RegisterOp_Asr_Rule_15_ A1_P42_instance_; 59 const NamedBinary3RegisterOp_Asr_Rule_15_A1_P42 Binary3RegisterOp_Asr_Rule_15_ A1_P42_instance_;
60 const NamedBinary3RegisterOp_Lsl_Rule_89_A1_P180 Binary3RegisterOp_Lsl_Rule_89 _A1_P180_instance_; 60 const NamedBinary3RegisterOp_Lsl_Rule_89_A1_P180 Binary3RegisterOp_Lsl_Rule_89 _A1_P180_instance_;
61 const NamedBinary3RegisterOp_Lsr_Rule_91_A1_P184 Binary3RegisterOp_Lsr_Rule_91 _A1_P184_instance_; 61 const NamedBinary3RegisterOp_Lsr_Rule_91_A1_P184 Binary3RegisterOp_Lsr_Rule_91 _A1_P184_instance_;
62 const NamedBinary3RegisterOp_Ror_Rule_140_A1_P280 Binary3RegisterOp_Ror_Rule_1 40_A1_P280_instance_; 62 const NamedBinary3RegisterOp_Ror_Rule_140_A1_P280 Binary3RegisterOp_Ror_Rule_1 40_A1_P280_instance_;
63 const NamedBinary3RegisterShiftedTest_Cmn_Rule_34_A1_P78 Binary3RegisterShifte dTest_Cmn_Rule_34_A1_P78_instance_; 63 const NamedBinary3RegisterShiftedTest_Cmn_Rule_34_A1_P78 Binary3RegisterShifte dTest_Cmn_Rule_34_A1_P78_instance_;
64 const NamedBinary3RegisterShiftedTest_Cmp_Rule_37_A1_P84 Binary3RegisterShifte dTest_Cmp_Rule_37_A1_P84_instance_; 64 const NamedBinary3RegisterShiftedTest_Cmp_Rule_37_A1_P84 Binary3RegisterShifte dTest_Cmp_Rule_37_A1_P84_instance_;
65 const NamedBinary3RegisterShiftedTest_Teq_Rule_229_A1_P452 Binary3RegisterShif tedTest_Teq_Rule_229_A1_P452_instance_; 65 const NamedBinary3RegisterShiftedTest_Teq_Rule_229_A1_P452 Binary3RegisterShif tedTest_Teq_Rule_229_A1_P452_instance_;
66 const NamedBinary3RegisterShiftedTest_Tst_Rule_232_A1_P458 Binary3RegisterShif tedTest_Tst_Rule_232_A1_P458_instance_; 66 const NamedBinary3RegisterShiftedTest_Tst_Rule_232_A1_P458 Binary3RegisterShif tedTest_Tst_Rule_232_A1_P458_instance_;
67 const NamedBinary4RegisterShiftedOp_Adc_Rule_3_A1_P18 Binary4RegisterShiftedOp _Adc_Rule_3_A1_P18_instance_; 67 const NamedBinary4RegisterShiftedOp_Adc_Rule_3_A1_P18 Binary4RegisterShiftedOp _Adc_Rule_3_A1_P18_instance_;
68 const NamedBinary4RegisterShiftedOp_Add_Rule_7_A1_P26 Binary4RegisterShiftedOp _Add_Rule_7_A1_P26_instance_; 68 const NamedBinary4RegisterShiftedOp_Add_Rule_7_A1_P26 Binary4RegisterShiftedOp _Add_Rule_7_A1_P26_instance_;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 inline const NamedClassDecoder& decode_super_cop( 190 inline const NamedClassDecoder& decode_super_cop(
191 const nacl_arm_dec::Instruction insn) const; 191 const nacl_arm_dec::Instruction insn) const;
192 inline const NamedClassDecoder& decode_sync( 192 inline const NamedClassDecoder& decode_sync(
193 const nacl_arm_dec::Instruction insn) const; 193 const nacl_arm_dec::Instruction insn) const;
194 inline const NamedClassDecoder& decode_unconditional( 194 inline const NamedClassDecoder& decode_unconditional(
195 const nacl_arm_dec::Instruction insn) const; 195 const nacl_arm_dec::Instruction insn) const;
196 }; 196 };
197 197
198 } // namespace nacl_arm_test 198 } // namespace nacl_arm_test
199 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_GEN_ARM32_DECODE_NAMED_DECODE R_H_ 199 #endif // NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_GEN_ARM32_DECODE_NAMED_DECODE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698