From 70c482852aed861d728654c7bad9404eff76d9e3 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 12 May 2010 11:04:27 -0700 Subject: 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 Acked-by: Artyom Tarasenko Signed-off-by: Blue Swirl --- target-sparc/helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-sparc/helper.h') diff --git a/target-sparc/helper.h b/target-sparc/helper.h index 04c1306..6f103e7 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" -- cgit v1.1