]> git.ipfire.org Git - thirdparty/qemu.git/commit - target/sparc/helper.h
target/sparc: Remove CC_OP_DIV
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 15 Oct 2023 02:44:03 +0000 (19:44 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Nov 2023 19:53:36 +0000 (11:53 -0800)
commit1326010322d6690a953722d8aee6465826ce7175
tree858d0b03f2e89b276bbf7870c1385296b61f7706
parent2a45b73658c383012a661cbfb89462c778c1ce45
target/sparc: Remove CC_OP_DIV

Return both result and overflow from helper_[us]div.
Compute all flags explicitly in gen_op_[us]divcc.

Marginally improve the INT64_MIN special case in helper_sdiv.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/sparc/cc_helper.c
target/sparc/cpu.h
target/sparc/helper.c
target/sparc/helper.h
target/sparc/translate.c