OSDN Git Service

target/arm: Pass pointer to qc to qrdmla/qrdmls
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 13 May 2020 16:32:42 +0000 (09:32 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 May 2020 14:03:08 +0000 (15:03 +0100)
commite286bf4a72fe3a60490b8d6e3f28d6335677e08c
treebcf9dd9e0c035373777158ba90c1dd85b30c67fe
parent146aa66ce58b686b8037d0eb3921c1125942dbde
target/arm: Pass pointer to qc to qrdmla/qrdmls

Pass a pointer directly to env->vfp.qc[0], rather than env.
This will allow SVE2, which does not modify QC, to pass a
pointer to dummy storage.

Change the return type of inl_qrdml.h_s16 to match the
sense of the operation: signed.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200513163245.17915-14-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c
target/arm/vec_helper.c