[PATCH][ARM][2/3] Add vectorization support for rounding functions

Kyrylo Tkachov kyrylo.tkachov@arm.com
Mon Jan 14 17:32:00 GMT 2013


Ping.

Thanks,
Kyrill

> -----Original Message-----
> From: Kyrylo Tkachov
> Sent: 07 January 2013 10:35
> To: Kyrylo Tkachov; gcc-patches@gcc.gnu.org
> Cc: Ramana Radhakrishnan; Richard Earnshaw
> Subject: RE: [PATCH][ARM][2/3] Add vectorization support for rounding
> functions
> 
> Ping.
> 
> http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01113.html
> 
> Thanks,
> Kyrill
> 
> > -----Original Message-----
> > From: gcc-patches-owner@gcc.gnu.org [mailto:gcc-patches-
> > owner@gcc.gnu.org] On Behalf Of Kyrylo Tkachov
> > Sent: 18 December 2012 13:34
> > To: gcc-patches@gcc.gnu.org
> > Cc: Ramana Radhakrishnan; Richard Earnshaw
> > Subject: [PATCH][ARM][2/3] Add vectorization support for rounding
> > functions
> >
> > Hi all,
> >
> > This patch adds support for the vectorisation of the rounding
> > functions:
> > floorf, ceilf, truncf, roundf. These can be implemented using the
> ARMv8
> > NEON
> > instructions: vrintm, vrintp, vrintz, vrinta.
> > This is done by defining the TARGET_VECTORIZE_BUILTINS and
> > TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION macros and the function
> > arm_builtin_vectorized_function that returns the decl of the vector
> > form
> > of a builtin function, or NULL_TREE if no vector variant exists.
> >
> > No regressions on arm-none-eabi with AEM.
> >
> > Ok for trunk?
> >
> > gcc/ChangeLog
> >
> > 2012-12-18  Kyrylo Tkachov  <kyrylo.tkachov at arm.com>
> >
> > 	* config/arm/arm-protos.h (arm_builtin_vectorized_function):
> > 	  New function prototype.
> > 	* config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define.
> > 	  (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise.
> > 	  (arm_builtin_vectorized_function): New function.
> 






More information about the Gcc-patches mailing list