This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libmvec simd math functions in fortran
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Cc: nd at arm dot com
- Date: Wed, 01 Nov 2017 16:23:11 +0000
- Subject: libmvec simd math functions in fortran
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs dot Nagy at arm dot com;
- Nodisclaimer: True
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
is there a way to get vectorized math functions in fortran?
in c code there is attribute simd declarations or openmp
declare simd pragma to tell the compiler which functions
have simd variant, but i see no such thing in fortran.
some targets have -mveclibabi=type which allows vectorizing
a set of math functions, but this does not support the
libmvec abi of glibc.