summaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-01-25 16:00:51 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-01-25 15:00:51 +0000
commit26771da72fa978a233ed03aa4b29068798fdac19 (patch)
tree8253b892533105e767c0e62418a27fbd8be36e36 /gcc/cse.c
parentc506155455a3f51e34a252d7ca00715b792d1537 (diff)
downloadgcc-26771da72fa978a233ed03aa4b29068798fdac19.tar.gz
i386.c (ix86_expand_movstr, [...]): Consistently do libcall for large blocks.
* i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently do libcall for large blocks. * i386.md (comi patterns): Set type to ssecomi. (sse2_unpck?pd): Fix mode of vec_select. * cse.c: Include except.h (cse_set_around_loop): Do not create new basic blocks. * Makefile.in (cse.o): Add dependnecy on except.h From-SVN: r61772
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 8f9ac33cc25..180c31e9635 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -40,6 +40,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "output.h"
#include "ggc.h"
#include "timevar.h"
+#include "except.h"
/* The basic idea of common subexpression elimination is to go
through the code, keeping a record of expressions that would
@@ -6809,6 +6810,8 @@ cse_set_around_loop (x, insn, loop_start)
SET_SRC, add an insn after P to copy its destination
to what we will be replacing SET_SRC with. */
if (cse_check_loop_start_value
+ && single_set (p)
+ && !can_throw_internal (insn)
&& validate_change (insn, &SET_SRC (x),
src_elt->exp, 0))
{