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

Side by Side Diff: src/trusted/validator_arm/gen/arm32_decode_named.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: Update copyright. Created 8 years, 1 month 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 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1182 } 1182 }
1183 1183
1184 if ((inst.Bits() & 0x01F00000) == 0x01800000 /* op1(24:20)=11000 */ && 1184 if ((inst.Bits() & 0x01F00000) == 0x01800000 /* op1(24:20)=11000 */ &&
1185 (inst.Bits() & 0x000000E0) == 0x00000000 /* op2(7:5)=000 */ && 1185 (inst.Bits() & 0x000000E0) == 0x00000000 /* op2(7:5)=000 */ &&
1186 (inst.Bits() & 0x0000F000) == 0x0000F000 /* Rd(15:12)=1111 */) { 1186 (inst.Bits() & 0x0000F000) == 0x0000F000 /* Rd(15:12)=1111 */) {
1187 return Binary3RegisterOpAltA_Usad8_Rule_253_A1_P500_instance_; 1187 return Binary3RegisterOpAltA_Usad8_Rule_253_A1_P500_instance_;
1188 } 1188 }
1189 1189
1190 if ((inst.Bits() & 0x01F00000) == 0x01F00000 /* op1(24:20)=11111 */ && 1190 if ((inst.Bits() & 0x01F00000) == 0x01F00000 /* op1(24:20)=11111 */ &&
1191 (inst.Bits() & 0x000000E0) == 0x000000E0 /* op2(7:5)=111 */) { 1191 (inst.Bits() & 0x000000E0) == 0x000000E0 /* op2(7:5)=111 */) {
1192 return Roadblock_Udf_Rule_A1_instance_; 1192 return PermanentlyUndefined_Udf_Rule_A1_instance_;
1193 } 1193 }
1194 1194
1195 if ((inst.Bits() & 0x01E00000) == 0x01A00000 /* op1(24:20)=1101x */ && 1195 if ((inst.Bits() & 0x01E00000) == 0x01A00000 /* op1(24:20)=1101x */ &&
1196 (inst.Bits() & 0x00000060) == 0x00000040 /* op2(7:5)=x10 */) { 1196 (inst.Bits() & 0x00000060) == 0x00000040 /* op2(7:5)=x10 */) {
1197 return Binary2RegisterBitRangeNotRnIsPcBitfieldExtract_Sbfx_Rule_154_A1_P308 _instance_; 1197 return Binary2RegisterBitRangeNotRnIsPcBitfieldExtract_Sbfx_Rule_154_A1_P308 _instance_;
1198 } 1198 }
1199 1199
1200 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ && 1200 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ &&
1201 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ && 1201 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ &&
1202 (inst.Bits() & 0x0000000F) != 0x0000000F /* Rn(3:0)=~1111 */) { 1202 (inst.Bits() & 0x0000000F) != 0x0000000F /* Rn(3:0)=~1111 */) {
(...skipping 2167 matching lines...) Expand 10 before | Expand all | Expand 10 after
3370 decode_named(const nacl_arm_dec::Instruction inst) const { 3370 decode_named(const nacl_arm_dec::Instruction inst) const {
3371 return decode_ARMv7(inst); 3371 return decode_ARMv7(inst);
3372 } 3372 }
3373 3373
3374 const nacl_arm_dec::ClassDecoder& NamedArm32DecoderState:: 3374 const nacl_arm_dec::ClassDecoder& NamedArm32DecoderState::
3375 decode(const nacl_arm_dec::Instruction inst) const { 3375 decode(const nacl_arm_dec::Instruction inst) const {
3376 return decode_named(inst).named_decoder(); 3376 return decode_named(inst).named_decoder();
3377 } 3377 }
3378 3378
3379 } // namespace nacl_arm_test 3379 } // namespace nacl_arm_test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698