uncond.isa (7421:9962b65e6b1f) | uncond.isa (7435:62bdb68bb314) |
---|---|
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 --- 40 unchanged lines hidden (view full) --- 49 const bool enable = bits(machInst, 19, 18) == 0x2; 50 const uint32_t mods = bits(machInst, 4, 0) | 51 (bits(machInst, 8, 6) << 5) | 52 (bits(machInst, 17) << 8) | 53 ((enable ? 1 : 0) << 9); 54 return new Cps(machInst, mods); 55 } 56 } else if (bits(op1, 6, 5) == 0x1) { | 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 --- 40 unchanged lines hidden (view full) --- 49 const bool enable = bits(machInst, 19, 18) == 0x2; 50 const uint32_t mods = bits(machInst, 4, 0) | 51 (bits(machInst, 8, 6) << 5) | 52 (bits(machInst, 17) << 8) | 53 ((enable ? 1 : 0) << 9); 54 return new Cps(machInst, mods); 55 } 56 } else if (bits(op1, 6, 5) == 0x1) { |
57 return new WarnUnimplemented( 58 "Advanced SIMD data-processing", machInst); | 57 return decodeNeonData(machInst); |
59 } else if (bits(op1, 6, 4) == 0x4) { 60 if (bits(op1, 0) == 0) { | 58 } else if (bits(op1, 6, 4) == 0x4) { 59 if (bits(op1, 0) == 0) { |
61 return new WarnUnimplemented( 62 "Advanced SIMD element or structure load/store", 63 machInst); | 60 return decodeNeonMem(machInst); |
64 } else if (bits(op1, 2, 0) == 1) { 65 // Unallocated memory hint 66 return new NopInst(machInst); 67 } else if (bits(op1, 2, 0) == 5) { 68 const bool add = bits(machInst, 23); 69 const uint32_t imm12 = bits(machInst, 11, 0); 70 if (add) { 71 return new %(pli_iadd)s(machInst, INTREG_ZERO, --- 253 unchanged lines hidden --- | 61 } else if (bits(op1, 2, 0) == 1) { 62 // Unallocated memory hint 63 return new NopInst(machInst); 64 } else if (bits(op1, 2, 0) == 5) { 65 const bool add = bits(machInst, 23); 66 const uint32_t imm12 = bits(machInst, 11, 0); 67 if (add) { 68 return new %(pli_iadd)s(machInst, INTREG_ZERO, --- 253 unchanged lines hidden --- |