[Patch, AArch64] Vector cost model.

Tejas Belagod tbelagod@arm.com
Tue Jun 25 16:48:00 GMT 2013


Hi,

The attached patch implements a generic vector cost model for aarch64.

Regression tested on aarch64-none-elf.

OK?

Thanks,
Tejas Belagod.
ARM.

2013-06-25  Tejas Belagod  <tejas.belagod@arm.com>

gcc/
	* config/aarch64/aarch64-protos.h (cpu_vector_cost): New.
	(tune_params): New member 'const vec_costs'.
	* config/aarch64/aarch64.c (generic_vector_cost): New.
	(generic_tunings): New member 'generic_vector_cost'.
	(aarch64_builtin_vectorization_cost): New.
	(aarch64_add_stmt_cost): New.
	(TARGET_VECTORIZE_ADD_STMT_COST): New.
	(TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): New.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vect-cost-model-1.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130625/2f8c3a3d/attachment.txt>


More information about the Gcc-patches mailing list