qemu/tests/tcg/aarch64
Richard Henderson 8796fe40dd target/arm: Fix AddPAC error indication
The definition of top_bit used in this function is one higher
than that used in the Arm ARM psuedo-code, which put the error
indication at top_bit - 1 at the wrong place, which meant that
it wasn't visible to Auth.

Fixing the definition of top_bit requires more changes, because
its most common use is for the count of bits in top_bit:bot_bit,
which would then need to be computed as top_bit - bot_bit + 1.

For now, prefer the minimal fix to the error indication alone.

Fixes: 63ff0ca94c
Reported-by: Derrick McKee <derrick.mckee@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200728195706.11087-1-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: added comment about the divergence from the pseudocode]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-08-03 17:55:03 +01:00
..
gdbstub tests/tcg: drop inferior.was_attached() test 2020-05-06 09:29:26 +01:00
system tests/tcg/aarch64: Add pauth-3 2020-01-23 15:22:39 +00:00
fcvt.ref tests/tcg/arm: add fcvt test cases for AArch32/64 2018-06-20 20:22:34 +01:00
float_convs.ref tests/tcg: add generic version of float_convs 2019-09-26 19:00:53 +01:00
float_madds.ref tests/tcg: add float_madds test to multiarch 2019-09-26 19:00:53 +01:00
Makefile.softmmu-target tests/tcg: fix invocation of the memory record/replay tests 2020-05-27 14:26:49 +01:00
Makefile.target target/arm: Fix AddPAC error indication 2020-08-03 17:55:03 +01:00
pauth-1.c tests/tcg/aarch64: Add newline in pauth-1 printf 2020-03-05 16:09:19 +00:00
pauth-2.c tests/tcg/aarch64: Fix compilation parameters for pauth-% 2020-01-23 15:22:38 +00:00
pauth-4.c tests/tcg: take into account expected clashes pauth-4 2020-02-25 20:20:23 +00:00
pauth-5.c target/arm: Fix AddPAC error indication 2020-08-03 17:55:03 +01:00
sve-ioctls.c tests/tcg/aarch64: add SVE iotcl test 2020-03-17 17:38:47 +00:00
sysregs.c tests/tcg/aarch64: userspace system register test 2020-03-17 17:38:38 +00:00