target/hppa: Fix 64-bit SHRPD instruction
authorHelge Deller <deller@gmx.de>
Fri, 17 Nov 2023 10:02:39 +0000 (11:02 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 17 Nov 2023 17:36:36 +0000 (18:36 +0100)
commita01491a238fab670ba68b5c649c109c64ae23e21
treec1fa68b3bdadc8a575f6c773e8d5aad54c0f7ca5
parent34a5cb6d8434303c170230644b2a7c1d5781d197
target/hppa: Fix 64-bit SHRPD instruction

When shifting the two joined 64-bit registers right, shift the upper
64-bit register to the left and the lower 64-bit register to the right
before merging them with OR.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/translate.c