This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/84234] #pragma omp declare simd is ignored on forward declaration
- From: "gcc.account at lemaitre dot re" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Feb 2018 12:07:34 +0000
- Subject: [Bug middle-end/84234] #pragma omp declare simd is ignored on forward declaration
- Auto-submitted: auto-generated
- References: <bug-84234-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84234
--- Comment #6 from Florian Lemaitre <gcc.account at lemaitre dot re> ---
I want auto-vectorization, not guided vectorization.
Basically, I try to write a fast RSQRT that will not break auto vectorization,
and this will be integrated in a large scale project where it is easy to tell
people "use this function" than to make them writing guided vectorization.
As far as I'm concerned, I'm completely fine with telling the compiler my
function doesn't have any side effect.
But this should be written somewhere for other people.