This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH][ARM][2/3] Add vectorization support for rounding functions
- From: "Kyrylo Tkachov" <kyrylo dot tkachov at arm dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: "Ramana Radhakrishnan" <Ramana dot Radhakrishnan at arm dot com>, "Richard Earnshaw" <Richard dot Earnshaw at arm dot com>
- Date: Mon, 14 Jan 2013 17:32:19 -0000
- Subject: RE: [PATCH][ARM][2/3] Add vectorization support for rounding functions
- References: <002601cddd24$47dfc1a0$d79f44e0$@tkachov@arm.com> <008501cdecc2$a6598e70$f30cab50$@tkachov@arm.com>
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.
>