gcc/testsuite/gcc.target/i386/sse2-mmx-22.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -msse2" } */ |
| 3 | /* { dg-additional-options "-mno-mmx" { target { ! ia32 } } } */ |
| 4 | |
| 5 | #include <mmintrin.h> |
| 6 | |
| 7 | void |
| 8 | foo (void) |
| 9 | { |
| 10 | _mm_empty (); |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler-times "emms" 1 { target ia32 } } } */ |
| 14 | /* { dg-final { scan-assembler-not "emms" { target { ! ia32 } } } } */ |