diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-01 07:08:20 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-01 07:08:20 +0000 |
commit | 030fcc8b3a801a2c9c5f78c8a351a68f430283d3 (patch) | |
tree | b0c79563e2c3c02cd18b00f8f19cc43ac86e0c53 | |
parent | a6a7eb12db7f17e79e3036e4494643dd1a88250b (diff) | |
download | gcc-030fcc8b3a801a2c9c5f78c8a351a68f430283d3.tar.gz |
* config/i386/i386.c (ix86_vectorize_builtin_conversion): Never
vectorize if not TARGET_SSE2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151259 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 14 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ef3dc2c549..61edf909c6e 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 DJ Delorie <dj@redhat.com> * config/mep/mep.h (FUNCTION_ARG_REGNO_P): Exclude coprocessor @@ -51,7 +56,8 @@ * config/mep/mep.c (machine_function): Add frame_locked flag. Set it once we start generating the prologue or epilogue. - (mep_call_saves_register): If the frame is locked, re-use cached values. + (mep_call_saves_register): If the frame is locked, re-use + cached values. (mep_assign_save_slots): New, broken out from mep_expand_prologue. (mep_expand_prologue): Call it. (mep_expand_epilogue): Likewise. @@ -465,8 +471,8 @@ 2009-08-26 Richard Guenther <rguenther@suse.de> - * tree-ssa-structalias.c (create_variable_info_for): Remove - strange whole-program condition, prepare to be called for non-globals. + * tree-ssa-structalias.c (create_variable_info_for): Remove strange + whole-program condition, prepare to be called for non-globals. (intra_create_variable_infos): For restrict qualified DECL_BY_REFERENCE params build a representative with known type and track its fields. @@ -1158,7 +1164,7 @@ 2009-08-24 Kai Tietz <kai.tietz@onevision.com> PR/40786 - * c-format.c (format_wanted_type): Add new member scalar_identity_flag. + * c-format.c (format_wanted_type): Add new member scalar_identity_flag. (check_format_info_main): Use scalar_identify_flag. (check_format_types): Check for scalar size identity if scalar_identify_flag is set. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 0316b367863..dfa35f12616 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -24845,7 +24845,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)) return NULL_TREE; switch (code) |