Skip to content
Snippets Groups Projects
Commit 9f54dc1c authored by Richard Henderson's avatar Richard Henderson
Browse files

target/hppa: Fix atomic_store_3 for STBY


The parallel version of STBY did not take host endianness into
account, and also computed the incorrect address for STBY_E.

Bswap twice to handle the merge and store.  Compute mask inside
the function rather than as a parameter.  Force align the address,
rather than subtracting one.

Generalize the function to system mode by using probe_access().

Cc: qemu-stable@nongnu.org
Tested-by: default avatarHelge Deller <deller@gmx.de>
Reported-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 909c476d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment