decoder.cc (11165:d90aec9435bd) | decoder.cc (12763:37c243ed1112) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2012-2014 ARM Limited | 2 * Copyright (c) 2012-2014,2018 ARM Limited |
3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 163 unchanged lines hidden (view full) --- 174 175 const int inst_size((!emi.thumb || emi.bigThumb) ? 4 : 2); 176 ExtMachInst this_emi(emi); 177 178 pc.npc(pc.pc() + inst_size); 179 if (foundIt) 180 pc.nextItstate(itBits); 181 this_emi.itstate = pc.itstate(); | 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 163 unchanged lines hidden (view full) --- 174 175 const int inst_size((!emi.thumb || emi.bigThumb) ? 4 : 2); 176 ExtMachInst this_emi(emi); 177 178 pc.npc(pc.pc() + inst_size); 179 if (foundIt) 180 pc.nextItstate(itBits); 181 this_emi.itstate = pc.itstate(); |
182 this_emi.illegalExecution = pc.illegalExec() ? 1 : 0; 183 |
|
182 pc.size(inst_size); 183 184 emi = 0; 185 instDone = false; 186 foundIt = false; 187 188 return decode(this_emi, pc.instAddr()); 189} 190 191} | 184 pc.size(inst_size); 185 186 emi = 0; 187 instDone = false; 188 foundIt = false; 189 190 return decode(this_emi, pc.instAddr()); 191} 192 193} |