From bb67d9c7cef80c80e817cafdd9ee2001cb29c9f7 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Thu, 7 Oct 2010 14:36:38 +0000 Subject: machmode.h (mode_for_vector): Declare. 2010-10-07 Richard Guenther * machmode.h (mode_for_vector): Declare. * stor-layout.c (mode_for_vector): New function, split out from ... (layout_type): ... here. * tree-vectorizer.h (current_vector_size): Declare. * tree-vect-stmts.c (perm_mask_for_reverse): Check if the mask vector type is available. (get_vectype_for_scalar_type): Rename to ... (get_vectype_for_scalar_type_and_size): ... this. Get a vector size argument. (get_vectype_for_scalar_type): New wrapper around get_vectype_for_scalar_type_and_size using current_vector_size. (get_same_sized_vectype): Use get_vectype_for_scalar_type_and_size. * tree-vect-loop.c (vect_analyze_loop_2): Split out core part of vect_analyze_loop here. (vect_analyze_loop): Loop over vector sizes calling vect_analyze_loop_3. * tree-vect-slp.c (vect_slp_analyze_bb): Set current_vector_size to autodetect. * config/i386/i386.c (ix86_vectorize_builtin_conversion): Fix V8SF to V8SI conversion builtin. From-SVN: r165116 --- gcc/config/i386/i386.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/i386/i386.c') diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 39308cf..33510a7 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -26272,7 +26272,7 @@ ix86_vectorize_builtin_conversion (unsigned int code, case V8SFmode: return (TYPE_UNSIGNED (src_type) ? NULL_TREE - : ix86_builtins[IX86_BUILTIN_CVTDQ2PS]); + : ix86_builtins[IX86_BUILTIN_CVTDQ2PS256]); default: return NULL_TREE; } -- cgit v1.1