[PATCH][ARM][2/3] Add vectorization support for rounding functions
Wed Feb 6 09:58:00 GMT 2013
On 12/18/12 13:33, Kyrylo Tkachov wrote:
> 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?
> 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.
Ok for stage1.
More information about the Gcc-patches