aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-01 16:41:37 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-01 16:41:37 +0000
commit0d792000de62983a9fb6f4908df687ff9caafebb (patch)
tree2d0be91b0aceb14ef6d87c5312aba8c20bc9a6e3
parentea2ce2a64608e7faf005554223236aeb5bd564c5 (diff)
* config/i386/i386.c (ix86_vectorize_builtin_conversion): Nevervar-tracking-assignments-4_4-merge-pointvar-tracking-assignments-4_4-merge-151281-4_4
vectorize if not TARGET_SSE2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_4-branch@151275 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a385ed0ff12..38f029bc842 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-31 Chris Demetriou <cgd@google.com>
+
+ * config/i386/i386.c (ix86_vectorize_builtin_conversion): Never
+ vectorize if not TARGET_SSE2.
+
2009-08-31 Gerald Pfeifer <gerald@pfeifer.com>
* doc/install.texi (Final install): Adjust reference on where to
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index f915e908110..4ff3aa5de6d 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -25320,7 +25320,7 @@ ix86_veclibabi_acml (enum built_in_function fn, tree type_out, tree type_in)
static tree
ix86_vectorize_builtin_conversion (unsigned int code, tree type)
{
- if (TREE_CODE (type) != VECTOR_TYPE
+ if (!TARGET_SSE2 || TREE_CODE (type) != VECTOR_TYPE
/* There are only conversions from/to signed integers. */
|| TYPE_UNSIGNED (TREE_TYPE (type)))
return NULL_TREE;