aboutsummaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-03-24 15:59:37 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-03-27 12:15:25 -1000
commit46bb3d467cbb5227db6d70d1835a0852cd3eafd2 (patch)
tree92402182f52b3eb19e36f7f06b842be629fa8b40 /os-posix.c
parentababac165b375b617e5b333536b846a33c48006e (diff)
target/hppa: Fix unit carry conditions
Split do_unit_cond to do_unit_zero_cond to only handle conditions versus zero. These are the only ones that are legal for UXOR. Simplify trans_uxor accordingly. Rename do_unit to do_unit_addsub, since xor has been split. Properly compute carry-out bits for add and subtract, mirroring the code in do_add and do_sub. Tested-by: Helge Deller <deller@gmx.de> Reviewed-by: Helge Deller <deller@gmx.de> Fixes: b2167459ae4 ("target-hppa: Implement basic arithmetic") Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions