diff options
author | Richard Henderson | 2020-05-13 18:32:43 +0200 |
---|---|---|
committer | Peter Maydell | 2020-05-14 16:03:08 +0200 |
commit | 525d9b6d42844e187211d25b69be8b378785bc24 (patch) | |
tree | 618291411017e07430e72c7b031571cee29bff46 | |
parent | target/arm: Pass pointer to qc to qrdmla/qrdmls (diff) | |
download | qemu-525d9b6d42844e187211d25b69be8b378785bc24.tar.gz qemu-525d9b6d42844e187211d25b69be8b378785bc24.tar.xz qemu-525d9b6d42844e187211d25b69be8b378785bc24.zip |
target/arm: Clear tail in gvec_fmul_idx_*, gvec_fmla_idx_*
Must clear the tail for AdvSIMD when SVE is enabled.
Fixes: ca40a6e6e39
Cc: qemu-stable@nongnu.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200513163245.17915-15-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | target/arm/vec_helper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/vec_helper.c b/target/arm/vec_helper.c index 6aa2ca0827..a483841add 100644 --- a/target/arm/vec_helper.c +++ b/target/arm/vec_helper.c @@ -747,6 +747,7 @@ void HELPER(NAME)(void *vd, void *vn, void *vm, void *stat, uint32_t desc) \ d[i + j] = TYPE##_mul(n[i + j], mm, stat); \ } \ } \ + clear_tail(d, oprsz, simd_maxsz(desc)); \ } DO_MUL_IDX(gvec_fmul_idx_h, float16, H2) @@ -771,6 +772,7 @@ void HELPER(NAME)(void *vd, void *vn, void *vm, void *va, \ mm, a[i + j], 0, stat); \ } \ } \ + clear_tail(d, oprsz, simd_maxsz(desc)); \ } DO_FMLA_IDX(gvec_fmla_idx_h, float16, H2) |