URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [avx-vzeroupper-2.c] - Rev 848
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do run } */ /* { dg-require-effective-target avx } */ /* { dg-options "-O2 -mavx -mtune=generic" } */ #include "avx-check.h" static int s[4] = {234566, 8723467, 6576856, 19832468}; static int d[4] = {1,1,1,1}; static void avx_test (void) { __m128i src; src = _mm_loadu_si128 ((__m128i*) s); _mm256_zeroupper (); _mm_storeu_si128 ((__m128i*) d, src); if (__builtin_memcmp (d, s, sizeof (d))) abort (); }
Go to most recent revision | Compare with Previous | Blame | View Log