| 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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 } | 806 } |
| 807 | 807 |
| 808 if ((inst.Bits() & 0x01F00000) == 0x01800000 /* op1(24:20)=11000 */ && | 808 if ((inst.Bits() & 0x01F00000) == 0x01800000 /* op1(24:20)=11000 */ && |
| 809 (inst.Bits() & 0x000000E0) == 0x00000000 /* op2(7:5)=000 */ && | 809 (inst.Bits() & 0x000000E0) == 0x00000000 /* op2(7:5)=000 */ && |
| 810 (inst.Bits() & 0x0000F000) == 0x0000F000 /* Rd(15:12)=1111 */) { | 810 (inst.Bits() & 0x0000F000) == 0x0000F000 /* Rd(15:12)=1111 */) { |
| 811 return Defs16To19CondsDontCareRdRmRnNotPc_instance_; | 811 return Defs16To19CondsDontCareRdRmRnNotPc_instance_; |
| 812 } | 812 } |
| 813 | 813 |
| 814 if ((inst.Bits() & 0x01F00000) == 0x01F00000 /* op1(24:20)=11111 */ && | 814 if ((inst.Bits() & 0x01F00000) == 0x01F00000 /* op1(24:20)=11111 */ && |
| 815 (inst.Bits() & 0x000000E0) == 0x000000E0 /* op2(7:5)=111 */) { | 815 (inst.Bits() & 0x000000E0) == 0x000000E0 /* op2(7:5)=111 */) { |
| 816 return Roadblock_instance_; | 816 return PermanentlyUndefined_instance_; |
| 817 } | 817 } |
| 818 | 818 |
| 819 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ && | 819 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ && |
| 820 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ && | 820 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ && |
| 821 (inst.Bits() & 0x0000000F) != 0x0000000F /* Rn(3:0)=~1111 */) { | 821 (inst.Bits() & 0x0000000F) != 0x0000000F /* Rn(3:0)=~1111 */) { |
| 822 return Defs12To15CondsDontCareMsbGeLsb_instance_; | 822 return Defs12To15CondsDontCareMsbGeLsb_instance_; |
| 823 } | 823 } |
| 824 | 824 |
| 825 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ && | 825 if ((inst.Bits() & 0x01E00000) == 0x01C00000 /* op1(24:20)=1110x */ && |
| 826 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ && | 826 (inst.Bits() & 0x00000060) == 0x00000000 /* op2(7:5)=x00 */ && |
| (...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1915 | 1915 |
| 1916 // Catch any attempt to fall though ... | 1916 // Catch any attempt to fall though ... |
| 1917 return not_implemented_; | 1917 return not_implemented_; |
| 1918 } | 1918 } |
| 1919 | 1919 |
| 1920 const ClassDecoder& Arm32DecoderState::decode(const Instruction inst) const { | 1920 const ClassDecoder& Arm32DecoderState::decode(const Instruction inst) const { |
| 1921 return decode_ARMv7(inst); | 1921 return decode_ARMv7(inst); |
| 1922 } | 1922 } |
| 1923 | 1923 |
| 1924 } // namespace nacl_arm_dec | 1924 } // namespace nacl_arm_dec |
| OLD | NEW |