Deleted Added
sdiff udiff text old ( 7191:b2b54b8b3e5b ) new ( 7192:939e4ce4f1db )
full compact
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

--- 46 unchanged lines hidden (view full) ---

55 if (bits(op1, 0) == 0) {
56 return new WarnUnimplemented(
57 "Advanced SIMD element or structure load/store",
58 machInst);
59 } else if (bits(op1, 2, 0) == 1) {
60 // Unallocated memory hint
61 return new WarnUnimplemented("nop", machInst);
62 } else if (bits(op1, 2, 0) == 5) {
63 return new WarnUnimplemented("pli", machInst);
64 }
65 } else if (bits(op1, 6, 4) == 0x5) {
66 if (bits(op1, 1, 0) == 0x1) {
67 return new WarnUnimplemented("pld", machInst);
68 } else if (op1 == 0x57) {
69 switch (op2) {
70 case 0x1:
71 return new WarnUnimplemented("clrex", machInst);
72 case 0x4:
73 return new WarnUnimplemented("dsb", machInst);
74 case 0x5:
75 return new WarnUnimplemented("dmb", machInst);
76 case 0x6:
77 return new WarnUnimplemented("isb", machInst);
78 }
79 }
80 } else if (bits(op2, 0) == 0) {
81 switch (op1 & 0xf7) {
82 case 0x61:
83 // Unallocated memory hint
84 return new WarnUnimplemented("nop", machInst);
85 case 0x65:
86 return new WarnUnimplemented("pli", machInst);
87 case 0x71:
88 return new WarnUnimplemented("pld", machInst);
89 }
90 }
91 } else {
92 switch (bits(machInst, 26, 25)) {
93 case 0x0:
94 {
95 const uint32_t val = ((machInst >> 20) & 0x5);
96 if (val == 0x4) {

--- 49 unchanged lines hidden (view full) ---

146 return new WarnUnimplemented("cdp, cdp2", machInst);
147 }
148 }
149 break;
150 }
151 }
152 return new Unknown(machInst);
153 }
154 '''
155}};