Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pause-2.c
blobd8b25195801a856221e8c7c8706dc9cebd2cbffb
1 /* Test that pause instruction works even when SSE is not enabled. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -dp" } */
4 /* { dg-final { scan-assembler-times "\\*pause" 1 } } */
6 #include <xmmintrin.h>
8 void
9 foo (void)
11 _mm_pause ();