On 11/14/19 9:29 PM, Szabolcs Nagy wrote:
The builtin directive allows specifying the simd attribute for a builtin
function. Similarly how the C language simd attribtue got extended to allow
declaring a specific vector variant, update the fortran builtin directive too.
Sounds useful. For the
> +++ b/gcc/testsuite/gfortran.dg/simd-builtins-10.h
> @@ -0,0 +1,6 @@
> +!GCC$ builtin (sinf) attributes simd (notinbranch, 4, 'n', 'vec_sinf')
> if('aarch64')
> +!GCC$ builtin (sinf) attributes simd (notinbranch, 4, 'n', 'vec_sinf')
> if('aarch64_be')
> +!GCC$ builtin (sinf) attributes simd (no
The builtin directive allows specifying the simd attribute for a builtin
function. Similarly how the C language simd attribtue got extended to
allow declaring a specific vector variant, update the fortran builtin
directive too.
Before the patch, only the masking (inbranch/notinbranch) could be spe