2 This testcase was miscompiled because sse_mov?fcc_const0*
3 patterns were missing earlyclobber. */
6 /* { dg-require-effective-target ilp32 } */
7 /* { dg-require-effective-target nonpic } */
8 /* { dg-options "-march=pentium3 -msse -ffast-math -O2" } */
10 extern void abort (void);
11 extern void exit (int);
17 if (__builtin_memcmp (&one, &f, sizeof (float)))
31 void bail_if_no_sse (void)
35 /* See if we can use cpuid. */
36 __asm__ ("pushfl; pushfl; popl %0; movl %0,%1; xorl %2,%0;"
37 "pushl %0; popfl; pushfl; popl %0; popfl"
38 : "=&r" (fl1), "=&r" (fl2)
40 if (((fl1 ^ fl2) & 0x00200000) == 0)
43 /* See if cpuid gives capabilities. */
44 __asm__ ("cpuid" : "=a" (fl1) : "0" (0) : "ebx", "ecx", "edx", "cc");
48 /* See if capabilities include SSE (25th bit; 26 for SSE2). */
49 __asm__ ("cpuid" : "=a" (fl1), "=d" (fl2) : "0" (1) : "ebx", "ecx", "cc");
50 if ((fl2 & (1 << 25)) == 0)
60 for (i = 0; i < 1; i++)
63 x[i].t = 0.f > x[i].t ? 0.f : x[i].t;