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]

r182344 - in /branches/google/main/gcc: ChangeL...


Author: tmsriram
Date: Wed Dec 14 21:50:45 2011
New Revision: 182344

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182344
Log:
2011-12-14  Sriraman Tallam  <tmsriram@google.com>

	Do not vectorize loops on Core2 that need to use unaligned
	vector load/stores.
	* tree-vect-stmts.c (is_vector_load_store_slow): New function.
	(vectorizable_load): Return false if the load
	is unaligned and slow.
	(vectorizable_store): Ditto.
	* target.def (TARGET_SLOW_UNALIGNED_VECTOR_MEMOP): New target hook.
	* doc/m.texi.in: Document new target hook:
	TARGET_SLOW_UNALIGNED_VECTOR_MEMOP
	* doc/m.texi: Regenerate.
	* config/i386/i386.c (ix86_slow_unaligned_vector_memop): New function.
	(TARGET_SLOW_UNALIGNED_VECTOR_MEMOP): New macro.

Modified:
    branches/google/main/gcc/ChangeLog.google-main
    branches/google/main/gcc/config/i386/i386.c
    branches/google/main/gcc/doc/tm.texi
    branches/google/main/gcc/doc/tm.texi.in
    branches/google/main/gcc/target.def
    branches/google/main/gcc/tree-vect-stmts.c


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