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?

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.



Ok for stage1.

regards
Ramana

Reply via email to