]> Git Repo - qemu.git/commit
target/arm: Fix output of PAuth Auth
authorRichard Henderson <[email protected]>
Sun, 9 Jun 2019 22:22:49 +0000 (15:22 -0700)
committerPeter Maydell <[email protected]>
Thu, 13 Jun 2019 14:14:03 +0000 (15:14 +0100)
commitd67ebada159148bfdfde84871338738e4465e985
tree1a22c5021c3d4cee752a06149c42b6dd9f71f488
parentbe1ba4d56eba5666ee03b40e286d7315862ab188
target/arm: Fix output of PAuth Auth

The ARM pseudocode installs the error_code into the original
pointer, not the encrypted pointer.  The difference applies
within the 7 bits of pac data; the result should be the sign
extension of bit 55.

Add a testcase to that effect.

Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
target/arm/pauth_helper.c
tests/tcg/aarch64/Makefile.target
tests/tcg/aarch64/pauth-2.c [new file with mode: 0644]
This page took 0.029262 seconds and 4 git commands to generate.