This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r174634 - in /branches/gcc-4_5-branch/gcc: Chan...


Author: irar
Date: Sat Jun  4 09:12:55 2011
New Revision: 174634

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174634
Log:

	PR tree-optimization/49038
	* tree-vect-loop-manip.c (vect_generate_tmps_on_preheader):
	Ensure at least one epilogue iteration if required by data
	accesses with gaps.
	* tree-vectorizer.h (struct _loop_vec_info): Add new field
	to mark loops that require peeling for gaps.
	* tree-vect-loop.c (new_loop_vec_info): Initialize new field.
	(vect_estimate_min_profitable_iters): Take peeling for gaps into
	account.
	(vect_transform_loop): Generate epilogue if required by data
	access with gaps.
	* tree-vect-data-refs.c (vect_analyze_group_access): Mark the
	loop as requiring an epilogue if there are gaps in the end of
	the strided group.


Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/pr49038.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/vect/vect-strided-u8-i8-gap4-unknown.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-vect-data-refs.c
    branches/gcc-4_5-branch/gcc/tree-vect-loop-manip.c
    branches/gcc-4_5-branch/gcc/tree-vect-loop.c
    branches/gcc-4_5-branch/gcc/tree-vectorizer.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]