summaryrefslogtreecommitdiffstats
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-28 16:53:18 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-28 16:53:18 +0000
commit3fcf767f4bc7223ea813164bf4f2daa041dbb2e9 (patch)
treeabc948e110699df37c14ad5f3cb1c3013f065f80 /gcc/builtins.c
parentbe262ab5cc288412e8b120dd407cf545bfaa8943 (diff)
downloadppe42-gcc-3fcf767f4bc7223ea813164bf4f2daa041dbb2e9.tar.gz
ppe42-gcc-3fcf767f4bc7223ea813164bf4f2daa041dbb2e9.zip
2009-06-28 Paolo Bonzini <bonzini@gnu.org>
* builtins.c (expand_errno_check): Use do_compare_rtx_and_jump. * dojump.c (do_jump): Change handling of floating-point ops to use just do_compare_and_jump. (split_comparison): New. (do_compare_rtx_and_jump): Add here logic coming previously in do_jump, using split_comparison. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149031 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 7fdb4f03428..de1984e5ab5 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -1876,8 +1876,8 @@ expand_errno_check (tree exp, rtx target)
/* Test the result; if it is NaN, set errno=EDOM because
the argument was not in the domain. */
- emit_cmp_and_jump_insns (target, target, EQ, 0, GET_MODE (target),
- 0, lab);
+ do_compare_rtx_and_jump (target, target, EQ, 0, GET_MODE (target),
+ NULL_RTX, NULL_RTX, lab);
#ifdef TARGET_EDOM
/* If this built-in doesn't throw an exception, set errno directly. */
OpenPOWER on IntegriCloud