https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95747

Freddie Witherden <freddie at witherden dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freddie at witherden dot org

--- Comment #1 from Freddie Witherden <freddie at witherden dot org> ---
It looks as if recent versions of GCC support the nontemporal OpenMP 5
attribute as:

typedef double aligned_double __attribute__ ((aligned (64)));

void f(int n, aligned_double * a, aligned_double * b)
{
    #pragma omp simd nontemporal(b)
    for (int i = 0; i < n; i++)
        b[i] = 2*a[i];
}

But do not actually generate non-temporal store instructions (even though the
data is suitably aligned).

Reply via email to