* gcc.target/i386/float128-3.c: New test.
* gcc.target/i386/quad-sse4.c: Ditto.
* gcc.target/i386/quad-sse.c: Use -msse instead of -msse2.
Update scan strings.
From-SVN: r237443
+2016-06-14 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.target/i386/float128-3.c: New test.
+ * gcc.target/i386/quad-sse4.c: Ditto.
+ * gcc.target/i386/quad-sse.c: Use -msse instead of -msse2.
+ Update scan strings.
+
2016-06-14 Richard Biener <rguenther@suse.de>
PR middle-end/71526
--- /dev/null
+/* { dg-do run } */
+/* { dg-options "-O2 -msse4.1" } */
+/* { dg-require-effective-target sse4 } */
+
+#include "sse4_1-check.h"
+
+int signbit (__float128);
+
+extern void abort (void);
+
+static void
+sse4_1_test (void)
+{
+ static volatile __float128 a;
+
+ a = -1.2q;
+ if (!signbit (a))
+ abort ();
+
+ a = 1.2q;
+ if (signbit (a))
+ abort ();
+}
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O2 -msse4.1" } */
+
+int signbit (__float128);
+
+__float128 x;
+
+int __test_1(void)
+{
+ return signbit (x);
+}
+
+/* { dg-final { scan-assembler-not "signbit" } } */