[PATCH v2 0/3] target/arm: Fix SVE2 WHILEWR/WHILERW zero diff boundary case

Richard Henderson posted 3 patches 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260811191540.79882-1-richard.henderson@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Peter Maydell <peter.maydell@linaro.org>
include/tcg/tcg-op-common.h       |  2 ++
include/tcg/tcg-op.h              |  2 ++
target/arm/tcg/translate-sve.c    | 38 +++++++++++++++++++------------
tcg/tcg-op-gvec.c                 | 14 ------------
tcg/tcg-op.c                      | 20 ++++++++++++++++
tests/tcg/aarch64/sve-while-ptr.c | 28 +++++++++++++++++++++++
tests/tcg/aarch64/Makefile.target |  5 ++--
7 files changed, 79 insertions(+), 30 deletions(-)
create mode 100644 tests/tcg/aarch64/sve-while-ptr.c
[PATCH v2 0/3] target/arm: Fix SVE2 WHILEWR/WHILERW zero diff boundary case
Posted by Richard Henderson 2 weeks ago
Use tcg_gen_ussub_i64 for WHILEWR.
Merge diff == 0 test with bounds check.

r~

Richard Henderson (3):
  tcg: Export tcg_gen_ussub_i{32,64,tl}
  target/arm: Fix SVE2 WHILEWR/WHILERW zero diff boundary case
  tests/tcg/aarch64: Add regression test for whilewr/whilerw

 include/tcg/tcg-op-common.h       |  2 ++
 include/tcg/tcg-op.h              |  2 ++
 target/arm/tcg/translate-sve.c    | 38 +++++++++++++++++++------------
 tcg/tcg-op-gvec.c                 | 14 ------------
 tcg/tcg-op.c                      | 20 ++++++++++++++++
 tests/tcg/aarch64/sve-while-ptr.c | 28 +++++++++++++++++++++++
 tests/tcg/aarch64/Makefile.target |  5 ++--
 7 files changed, 79 insertions(+), 30 deletions(-)
 create mode 100644 tests/tcg/aarch64/sve-while-ptr.c

-- 
2.43.0
Re: [PATCH v2 0/3] target/arm: Fix SVE2 WHILEWR/WHILERW zero diff boundary case
Posted by Peter Maydell 1 week, 1 day ago
On Tue, 11 Aug 2026 at 20:15, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Use tcg_gen_ussub_i64 for WHILEWR.
> Merge diff == 0 test with bounds check.
>
> r~
>

I guess we should have a Fixes: <whatever> and a cc: stable ?

thanks
-- PMM