data.isa (7308:d70cc65e9bc8) | data.isa (7316:bb190cb8ee69) |
---|---|
1// Copyright (c) 2010 ARM Limited 2// All rights reserved 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 1012 unchanged lines hidden (view full) --- 1021 true, false, regList); 1022 } 1023 case 0x6: 1024 { 1025 const uint32_t opBits = bits(machInst, 7, 5); 1026 if (opBits == 2) { 1027 return new Setend(machInst, bits(machInst, 3)); 1028 } else if (opBits == 3) { | 1// Copyright (c) 2010 ARM Limited 2// All rights reserved 3// 4// The license below extends only to copyright in the software and shall 5// not be construed as granting a license to any other intellectual 6// property including but not limited to intellectual property relating 7// to a hardware implementation of the functionality of the software 8// licensed hereunder. You may use the software subject to the license --- 1012 unchanged lines hidden (view full) --- 1021 true, false, regList); 1022 } 1023 case 0x6: 1024 { 1025 const uint32_t opBits = bits(machInst, 7, 5); 1026 if (opBits == 2) { 1027 return new Setend(machInst, bits(machInst, 3)); 1028 } else if (opBits == 3) { |
1029 return new WarnUnimplemented("cps", machInst); | 1029 const bool enable = (bits(machInst, 4) == 0); 1030 const uint32_t mods = (bits(machInst, 2, 0) << 5) | 1031 ((enable ? 1 : 0) << 9); 1032 return new Cps(machInst, mods); |
1030 } 1031 } 1032 case 0x9: 1033 return new Cbnz(machInst, 1034 (bits(machInst, 9) << 6) | 1035 (bits(machInst, 7, 3) << 1), 1036 (IntRegIndex)(uint32_t)bits(machInst, 2, 0)); 1037 case 0xa: --- 354 unchanged lines hidden --- | 1033 } 1034 } 1035 case 0x9: 1036 return new Cbnz(machInst, 1037 (bits(machInst, 9) << 6) | 1038 (bits(machInst, 7, 3) << 1), 1039 (IntRegIndex)(uint32_t)bits(machInst, 2, 0)); 1040 case 0xa: --- 354 unchanged lines hidden --- |