OLD | NEW |
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 | 9 |
10 #include "native_client/src/trusted/validator_arm/gen/arm32_decode.h" | 10 #include "native_client/src/trusted/validator_arm/gen/arm32_decode.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 , LoadBasedOffsetMemory_instance_() | 44 , LoadBasedOffsetMemory_instance_() |
45 , LoadBasedOffsetMemoryDouble_instance_() | 45 , LoadBasedOffsetMemoryDouble_instance_() |
46 , LoadMultiple_instance_() | 46 , LoadMultiple_instance_() |
47 , LoadVectorRegister_instance_() | 47 , LoadVectorRegister_instance_() |
48 , LoadVectorRegisterList_instance_() | 48 , LoadVectorRegisterList_instance_() |
49 , MaskAddress_instance_() | 49 , MaskAddress_instance_() |
50 , MoveDoubleVfpRegisterOp_instance_() | 50 , MoveDoubleVfpRegisterOp_instance_() |
51 , MoveVfpRegisterOp_instance_() | 51 , MoveVfpRegisterOp_instance_() |
52 , MoveVfpRegisterOpWithTypeSel_instance_() | 52 , MoveVfpRegisterOpWithTypeSel_instance_() |
53 , NotImplemented_instance_() | 53 , NotImplemented_instance_() |
| 54 , PermanentlyUndefined_instance_() |
54 , PreloadRegisterPairOp_instance_() | 55 , PreloadRegisterPairOp_instance_() |
55 , PreloadRegisterPairOpWAndRnNotPc_instance_() | 56 , PreloadRegisterPairOpWAndRnNotPc_instance_() |
56 , Roadblock_instance_() | |
57 , Store2RegisterImm12OpRnNotRtOnWriteback_instance_() | 57 , Store2RegisterImm12OpRnNotRtOnWriteback_instance_() |
58 , StoreBasedImmedMemory_instance_() | 58 , StoreBasedImmedMemory_instance_() |
59 , StoreBasedImmedMemoryDouble_instance_() | 59 , StoreBasedImmedMemoryDouble_instance_() |
60 , StoreBasedMemoryDoubleRtBits0To3_instance_() | 60 , StoreBasedMemoryDoubleRtBits0To3_instance_() |
61 , StoreBasedMemoryRtBits0To3_instance_() | 61 , StoreBasedMemoryRtBits0To3_instance_() |
62 , StoreBasedOffsetMemory_instance_() | 62 , StoreBasedOffsetMemory_instance_() |
63 , StoreBasedOffsetMemoryDouble_instance_() | 63 , StoreBasedOffsetMemoryDouble_instance_() |
64 , StoreRegisterList_instance_() | 64 , StoreRegisterList_instance_() |
65 , StoreVectorRegister_instance_() | 65 , StoreVectorRegister_instance_() |
66 , StoreVectorRegisterList_instance_() | 66 , StoreVectorRegisterList_instance_() |
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 } | 861 } |
862 | 862 |
863 if ((inst.Bits() & 0x01F00000) == 0x01800000 /* op1(24:20)=11000 */ && | 863 if ((inst.Bits() & 0x01F00000) == 0x01800000 /* op1(24:20)=11000 */ && |
864 (inst.Bits() & 0x000000E0) == 0x00000000 /* op2(7:5)=000 */ && | 864 (inst.Bits() & 0x000000E0) == 0x00000000 /* op2(7:5)=000 */ && |
865 (inst.Bits() & 0x0000F000) == 0x0000F000 /* Rd(15:12)=1111 */) { | 865 (inst.Bits() & 0x0000F000) == 0x0000F000 /* Rd(15:12)=1111 */) { |
866 return Defs16To19CondsDontCareRdRmRnNotPc_instance_; | 866 return Defs16To19CondsDontCareRdRmRnNotPc_instance_; |
867 } | 867 } |
868 | 868 |
869 if ((inst.Bits() & 0x01F00000) == 0x01F00000 /* op1(24:20)=11111 */ && | 869 if ((inst.Bits() & 0x01F00000) == 0x01F00000 /* op1(24:20)=11111 */ && |
870 (inst.Bits() & 0x000000E0) == 0x000000E0 /* op2(7:5)=111 */) { | 870 (inst.Bits() & 0x000000E0) == 0x000000E0 /* op2(7:5)=111 */) { |
871 return Roadblock_instance_; | 871 return PermanentlyUndefined_instance_; |
872 } | 872 } |
873 | 873 |
874 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ && | 874 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ && |
875 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ && | 875 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ && |
876 (inst.Bits() & 0x0000000F) != 0x0000000F /* Rn(3:0)=~1111 */) { | 876 (inst.Bits() & 0x0000000F) != 0x0000000F /* Rn(3:0)=~1111 */) { |
877 return Defs12To15CondsDontCareMsbGeLsb_instance_; | 877 return Defs12To15CondsDontCareMsbGeLsb_instance_; |
878 } | 878 } |
879 | 879 |
880 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ && | 880 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ && |
881 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ && | 881 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ && |
(...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2208 | 2208 |
2209 // Catch any attempt to fall though ... | 2209 // Catch any attempt to fall though ... |
2210 return not_implemented_; | 2210 return not_implemented_; |
2211 } | 2211 } |
2212 | 2212 |
2213 const ClassDecoder& Arm32DecoderState::decode(const Instruction inst) const { | 2213 const ClassDecoder& Arm32DecoderState::decode(const Instruction inst) const { |
2214 return decode_ARMv7(inst); | 2214 return decode_ARMv7(inst); |
2215 } | 2215 } |
2216 | 2216 |
2217 } // namespace nacl_arm_dec | 2217 } // namespace nacl_arm_dec |
OLD | NEW |