arch-arm: Fix SVE indx inst by sizeof error and dest overwrite
authorJordi Vaquero <jordi.vaquero@metempsy.com>
Fri, 17 Apr 2020 14:00:13 +0000 (16:00 +0200)
committerJordi Vaquero <jordi.vaquero@metempsy.com>
Thu, 7 May 2020 08:01:23 +0000 (08:01 +0000)
commit3eab6ea51e4c2b97e7a68835dddacb989d7559c4
tree4129f05fa537bcaf6254dc124c73903dea6d9bcc
parentd9cb548d83fa81858599807f54b52e5be35a6b03
arch-arm: Fix SVE indx inst by sizeof error and dest overwrite

This patch includes two fixes for SVE FMUL; FMLA FMLS AND FCMLA instructions

+ Fixes indexed functions like FMUL, FMLA, FMLS, FCMLA due to its
destination register overwrite with temporary values, wince the imm
can make changes in vector positions that will be read in the future.

+ sizeof return bytes not bits so division of 128 shouild be of 16 instead

Change-Id: I304d1b254a299069c85bbc3319e5a6d4119436d0
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28228
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa/insts/sve.isa