isa.hh (13531:e6f1bf55d038) | isa.hh (13545:dd7ca2be0f2b) |
---|---|
1/* 2 * Copyright (c) 2010, 2012-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 --- 430 unchanged lines hidden (view full) --- 439 switch (regId.classValue()) { 440 case IntRegClass: 441 return RegId(IntRegClass, flattenIntIndex(regId.index())); 442 case FloatRegClass: 443 return RegId(FloatRegClass, flattenFloatIndex(regId.index())); 444 case VecRegClass: 445 return RegId(VecRegClass, flattenVecIndex(regId.index())); 446 case VecElemClass: | 1/* 2 * Copyright (c) 2010, 2012-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 --- 430 unchanged lines hidden (view full) --- 439 switch (regId.classValue()) { 440 case IntRegClass: 441 return RegId(IntRegClass, flattenIntIndex(regId.index())); 442 case FloatRegClass: 443 return RegId(FloatRegClass, flattenFloatIndex(regId.index())); 444 case VecRegClass: 445 return RegId(VecRegClass, flattenVecIndex(regId.index())); 446 case VecElemClass: |
447 return RegId(VecElemClass, flattenVecElemIndex(regId.index())); | 447 return RegId(VecElemClass, flattenVecElemIndex(regId.index()), 448 regId.elemIndex()); |
448 case CCRegClass: 449 return RegId(CCRegClass, flattenCCIndex(regId.index())); 450 case MiscRegClass: 451 return RegId(MiscRegClass, flattenMiscIndex(regId.index())); 452 } 453 return RegId(); 454 } 455 --- 258 unchanged lines hidden --- | 449 case CCRegClass: 450 return RegId(CCRegClass, flattenCCIndex(regId.index())); 451 case MiscRegClass: 452 return RegId(MiscRegClass, flattenMiscIndex(regId.index())); 453 } 454 return RegId(); 455 } 456 --- 258 unchanged lines hidden --- |