target/hppa: Fix overflow computation for shladd
commitf8f5986edc542444a318e8783dfe2bad912669fe
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 26 Mar 2024 06:33:16 +0000 (25 20:33 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 27 Mar 2024 22:15:25 +0000 (27 12:15 -1000)
tree03d6aea42cdf4ab246c6e11f2a5c1a5e617f47b3
parentfe2d066a9e3dc3d902ef7d3860c077563146b35b
target/hppa: Fix overflow computation for shladd

Overflow indicator should include the effect of the shift step.
We had previously left ??? comments about the issue.

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