gcc/testsuite/gcc.target/i386/pr81921.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target lto } */ |
| 3 | /* { dg-options "-flto -march=x86-64" } */ |
| 4 | |
| 5 | extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__, target("sse2"))) |
| 6 | _mm_loadu_si128 (int const *__P) |
| 7 | { |
| 8 | return *__P; |
| 9 | } |
| 10 | |
| 11 | void __attribute__((target("ssse3"))) foo (void *p) |
| 12 | { |
| 13 | volatile int x = _mm_loadu_si128 (p); |
| 14 | } |