mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target-sparc: Inline some generation of carry for ADDX/SUBX.
Computing carry is trivial for some inputs. By avoiding an external function call, we generate near-optimal code for the common cases of add+addx (double-word arithmetic) and cmp+addx (a setcc pattern). Signed-off-by: Richard Henderson <rth@twiddle.net> Acked-by: Artyom Tarasenko <atar4qemu@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
da441cffde
commit
70c482852a
3 changed files with 200 additions and 76 deletions
|
@ -1347,7 +1347,7 @@ void helper_compute_psr(void)
|
|||
CC_OP = CC_OP_FLAGS;
|
||||
}
|
||||
|
||||
target_ulong helper_compute_C_icc(void)
|
||||
uint32_t helper_compute_C_icc(void)
|
||||
{
|
||||
uint32_t ret;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue