diff options
-rw-r--r-- | src/arch/arm/isa.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/arm/isa.hh b/src/arch/arm/isa.hh index 1ec0f4676..2b1bdcb4a 100644 --- a/src/arch/arm/isa.hh +++ b/src/arch/arm/isa.hh @@ -444,7 +444,8 @@ namespace ArmISA case VecRegClass: return RegId(VecRegClass, flattenVecIndex(regId.index())); case VecElemClass: - return RegId(VecElemClass, flattenVecElemIndex(regId.index())); + return RegId(VecElemClass, flattenVecElemIndex(regId.index()), + regId.elemIndex()); case CCRegClass: return RegId(CCRegClass, flattenCCIndex(regId.index())); case MiscRegClass: |