From: Chris Demetriou Date: Tue, 1 Sep 2009 16:46:10 +0000 (-0700) Subject: i386.c (ix86_vectorize_builtin_conversion): Never vectorize if not TARGET_SSE2. X-Git-Tag: releases/gcc-4.3.5~402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c91a67825d702bc1968faac363fd6e8051548a0;p=thirdparty%2Fgcc.git i386.c (ix86_vectorize_builtin_conversion): Never vectorize if not TARGET_SSE2. * config/i386/i386.c (ix86_vectorize_builtin_conversion): Never vectorize if not TARGET_SSE2. From-SVN: r151276 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e00ce5fa2a4..0b7bdc3cdb1e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-08-31 Chris Demetriou + + * config/i386/i386.c (ix86_vectorize_builtin_conversion): Never + vectorize if not TARGET_SSE2. + 2009-08-28 Uros Bizjak * global.c (global_alloc): Do not calculate bitmatrix percentages diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a759028b1c8a..d9f9b8cd3e44 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -21529,7 +21529,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;