misc.isa (10173:a6402a046e36) | misc.isa (10418:7a76e13f0101) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2010-2013 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 200 unchanged lines hidden (view full) --- 209 // implemented sounds a bit silly, but its required to get 210 // the correct behaviour for hyp traps and undef exceptions. 211 miscRegInfo[miscReg][MISCREG_IMPLEMENTED] = true; 212 miscRegInfo[miscReg][MISCREG_WARN_NOT_FAIL] = false; 213 } 214 215 if (miscRegInfo[miscReg][MISCREG_IMPLEMENTED]) { 216 if (isRead) | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2010-2013 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 200 unchanged lines hidden (view full) --- 209 // implemented sounds a bit silly, but its required to get 210 // the correct behaviour for hyp traps and undef exceptions. 211 miscRegInfo[miscReg][MISCREG_IMPLEMENTED] = true; 212 miscRegInfo[miscReg][MISCREG_WARN_NOT_FAIL] = false; 213 } 214 215 if (miscRegInfo[miscReg][MISCREG_IMPLEMENTED]) { 216 if (isRead) |
217 return new Mrc15(machInst, rt, (IntRegIndex)miscReg, iss); 218 return new Mcr15(machInst, (IntRegIndex)miscReg, rt, iss); | 217 return new Mrc15(machInst, rt, miscReg, iss); 218 return new Mcr15(machInst, miscReg, rt, iss); |
219 } else { 220 return new FailUnimplemented(isRead ? "mrc" : "mcr", machInst, 221 csprintf("%s %s", isRead ? "mrc" : "mcr", 222 miscRegName[miscReg])); 223 } 224 } 225 } 226 ''' --- 73 unchanged lines hidden --- | 219 } else { 220 return new FailUnimplemented(isRead ? "mrc" : "mcr", machInst, 221 csprintf("%s %s", isRead ? "mrc" : "mcr", 222 miscRegName[miscReg])); 223 } 224 } 225 } 226 ''' --- 73 unchanged lines hidden --- |