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]

r186838 - in /branches/cilkplus/gcc: ChangeLog....


Author: bviyer
Date: Wed Apr 25 19:27:55 2012
New Revision: 186838

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186838
Log:
Insert elem. functions when loop is vectorized.

2012-04-24  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* elem-function.c (find_elem_fn_param_type_1): New function.
	(find_elem_fn_param_type): Likewise.
	(find_elem_fn_name): Likewise.
	(is_elem_fn): Make it unstatic.
	* tree-data-ref.c (find_data_references_in_stmt): Added support for
	functions that can be made to elemental functions.
	* tree-vect-stmts.c (vect_get_vec_def_for_operand): Added a check for
	the parameters to see whether it is uniform, linear or neither.
	(vectorizable_function): Handled code to substitute regular function
	with the equivalent elemental function.
	(vectorizable_call): Set the function type for substituted elemental
	function.
	* tree.h (enum elem_fn_parm_type): New enum.


Modified:
    branches/cilkplus/gcc/ChangeLog.cilk
    branches/cilkplus/gcc/cilk.h
    branches/cilkplus/gcc/elem-function.c
    branches/cilkplus/gcc/tree-data-ref.c
    branches/cilkplus/gcc/tree-vect-stmts.c
    branches/cilkplus/gcc/tree.h


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