target/arm: Pass index to AdvSIMD FCMLA (indexed)
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Jun 2018 14:11:12 +0000 (15:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jun 2018 14:11:12 +0000 (15:11 +0100)
commit2cc99919a81a62589a4a6b0f365eabfead1db1a7
tree949c5936f2ce36e4a844f1db9187b15025542da8
parent05f48bab3080fb876fbad8d8f14e6ba545432d67
target/arm: Pass index to AdvSIMD FCMLA (indexed)

For aa64 advsimd, we had been passing the pre-indexed vector.
However, sve applies the index to each 128-bit segment, so we
need to pass in the index separately.

For aa32 advsimd, the fp32 operation always has index 0, but
we failed to interpret the fp16 index correctly.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20180627043328.11531-31-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c
target/arm/translate.c
target/arm/vec_helper.c