This is the mail archive of the gcc-patches@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]

[PATCH] Improved dependence analysis


This patch improves the dependence analysis by allowing the extraction
of a constant offset from a base object when the base object address is
computed in a different statement. The patch passed bootstrap and make
check on amd64-linux. 

2007-07-30  Jan Sjodin  <jan.sjodin@amd.com>

	* tree-data-ref.c
	(split_constant_offset): Enable split_constant_offset to extract
	constants from other statements.
	* tree-vect-transform.c
	(vect_create_addr_base_for_vector_ref): Generate data_ref_base
	to a temp var. Force base_offset to be simple.

2007-07-30  Jan Sjodin  <jan.sjodin@amd.com>

	* gcc.dg/vect/vect-117.c: New test.
	* gcc.dg/vect/vect-74.c: Enabled test
	* gcc.dg/vect/vect-81.c: Enabled test

Attachment: 001_base-offset.diff
Description: 001_base-offset.diff


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