Re: [PATCH, fortran] Extend the builtin directive

2019-11-15 Thread Tobias Burnus
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

Re: [PATCH, fortran] Extend the builtin directive

2019-11-15 Thread Szabolcs Nagy
> +++ 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

[PATCH, fortran] Extend the builtin directive

2019-11-14 Thread Szabolcs Nagy
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