aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-09-17 17:05:00 -0700
committerPeter Maydell <peter.maydell@linaro.org>2020-10-01 15:31:00 +0100
commitdd701fafe55a78e655d4823d29226d92250a6b56 (patch)
tree292d6fa47cdcd79ba64d5b69f4a9cdeeff3c4e73
parentd8227b098301935ea8e0e032e7d41e5dc3e97590 (diff)
target/arm: Fix SVE splice
While converting to gen_gvec_ool_zzzp, we lost passing a->esz as the data argument to the function. Fixes: 36cbb7a8e71 Cc: qemu-stable@nongnu.org Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200918000500.2690937-1-richard.henderson@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target/arm/translate-sve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c
index c0d8a5863a..9095586fc9 100644
--- a/target/arm/translate-sve.c
+++ b/target/arm/translate-sve.c
@@ -2689,7 +2689,7 @@ static bool trans_SPLICE(DisasContext *s, arg_rprr_esz *a)
{
if (sve_access_check(s)) {
gen_gvec_ool_zzzp(s, gen_helper_sve_splice,
- a->rd, a->rn, a->rm, a->pg, 0);
+ a->rd, a->rn, a->rm, a->pg, a->esz);
}
return true;
}