OSDN Git Service

target/hppa: Pass d to do_unit_cond
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Sep 2023 02:52:46 +0000 (19:52 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 7 Nov 2023 02:49:33 +0000 (18:49 -0800)
commit59963d8fdf42244b8688b60b778a6209a1359fc2
treefe7eec63ea58da39d88f25eb368c98f676ccefa6
parent4fa52edf912115e0ad7011da9f9b2e43fd99f3aa
target/hppa: Pass d to do_unit_cond

Hoist the resolution of d up one level above do_unit_cond.
All computations are logical, and are simplified by using a mask of the
correct width, after which the result may be compared with zero.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/translate.c