Correct the VLDR and VSTR patterns, which claimed to be setting U=0
but in fact left it identical to the U=1 pattern due to a
cut-and-paste error.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
Somehow the pre-generated test binaries I have from Alex have
U=0 insns in them -- I suspect this got fixed locally but never
made it upstream ?
---
arm.risu | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arm.risu b/arm.risu
index f8b6deb..43a72ae 100644
--- a/arm.risu
+++ b/arm.risu
@@ -757,7 +757,7 @@ VLDM A1c cond:4 110 p u d 1 1 rn:4 vd:4 101 x imm:8 !constraints { $p == $u; }
VSTR A1a cond:4 1101 1 d 00 rn:4 vd:4 101 x imm:8 \
!memory { reg_plus_imm($rn, $imm * 4); }
# both A1 and A2 encodings, U = 0
-VSTR A1b cond:4 1101 1 d 00 rn:4 vd:4 101 x imm:8 \
+VSTR A1b cond:4 1101 0 d 00 rn:4 vd:4 101 x imm:8 \
!memory { reg_minus_imm($rn, $imm * 4); }
# VLDR
@@ -765,7 +765,7 @@ VSTR A1b cond:4 1101 1 d 00 rn:4 vd:4 101 x imm:8 \
VLDR A1a cond:4 1101 1 d 01 rn:4 vd:4 101 x imm:8 \
!memory { reg_plus_imm($rn, $imm * 4); }
# both A1 and A2 encodings, U = 0
-VLDR A1b cond:4 1101 1 d 01 rn:4 vd:4 101 x imm:8 \
+VLDR A1b cond:4 1101 0 d 01 rn:4 vd:4 101 x imm:8 \
!memory { reg_minus_imm($rn, $imm * 4); }
########### Extension register transfer ###################
--
2.20.1
Peter Maydell <peter.maydell@linaro.org> writes: > Correct the VLDR and VSTR patterns, which claimed to be setting U=0 > but in fact left it identical to the U=1 pattern due to a > cut-and-paste error. > > Signed-off-by: Peter Maydell <peter.maydell@linaro.org> > --- > Somehow the pre-generated test binaries I have from Alex have > U=0 insns in them -- I suspect this got fixed locally but never > made it upstream ? Hmm my current set of aarch32 test patterns have U=1 throughout. So if it did get fixed locally it also got lost. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée
On Mon, 14 Sep 2020 at 14:42, Alex Bennée <alex.bennee@linaro.org> wrote: > > > Peter Maydell <peter.maydell@linaro.org> writes: > > > Correct the VLDR and VSTR patterns, which claimed to be setting U=0 > > but in fact left it identical to the U=1 pattern due to a > > cut-and-paste error. > > > > Signed-off-by: Peter Maydell <peter.maydell@linaro.org> > > --- > > Somehow the pre-generated test binaries I have from Alex have > > U=0 insns in them -- I suspect this got fixed locally but never > > made it upstream ? > > Hmm my current set of aarch32 test patterns have U=1 throughout. So if > it did get fixed locally it also got lost. I'm surprised you don't see test failures due to the memory constraint not matching up with the encoding... -- PMM
© 2016 - 2026 Red Hat, Inc.