diff options
author | Richard Henderson <rth@twiddle.net> | 2010-05-12 11:04:27 -0700 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-20 19:58:28 +0000 |
commit | 70c482852aed861d728654c7bad9404eff76d9e3 (patch) | |
tree | da2b4b73bce3b8047b615f13a8424f9650a799c2 /target-sparc/helper.h | |
parent | da441cffde8f593404e4187c57abf392717da2bc (diff) |
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>
Diffstat (limited to 'target-sparc/helper.h')
-rw-r--r-- | target-sparc/helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/helper.h b/target-sparc/helper.h index 04c1306d69..6f103e7697 100644 --- a/target-sparc/helper.h +++ b/target-sparc/helper.h @@ -158,6 +158,6 @@ VIS_CMPHELPER(cmpne); #undef VIS_HELPER #undef VIS_CMPHELPER DEF_HELPER_0(compute_psr, void); -DEF_HELPER_0(compute_C_icc, tl); +DEF_HELPER_0(compute_C_icc, i32); #include "def-helper.h" |