(main): Change to void and rename to sse_test.
* gcc.target/i386/pr24306.c: Ditto.
* gcc.target/i386/pr32065-2.c: Ditto.
* gcc.target/i386/
20060512-1.c: Include sse2-check.h.
(main): Change to void and rename to sse2_test.
* gcc.target/i386/
20060512-3.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132365
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-02-16 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.target/i386/fastcall-sseregparm.c: Include sse-check.h.
+ (main): Change to void and rename to sse_test.
+ * gcc.target/i386/pr24306.c: Ditto.
+ * gcc.target/i386/pr32065-2.c: Ditto.
+ * gcc.target/i386/20060512-1.c: Include sse2-check.h.
+ (main): Change to void and rename to sse2_test.
+ * gcc.target/i386/20060512-3.c: Ditto.
+
2008-02-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/35150
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-std=gnu99 -msse2" } */
+
+#include "sse2-check.h"
+
#include <emmintrin.h>
+
__m128i __attribute__ ((__noinline__))
vector_using_function ()
{
}
int g_1 = 20;
int g_2 = 22;
-int
-main ()
+
+static void
+sse2_test (void)
{
int result;
asm ("pushl %esi"); /* Disalign runtime stack. */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-std=gnu99 -msse2 -mstackrealign" } */
+
+#include "sse2-check.h"
+
#include <emmintrin.h>
+
__m128i __attribute__ ((__noinline__))
vector_using_function ()
{
}
int g_1 = 20;
int g_2 = 22;
-int
-main ()
+
+static void
+sse2_test (void)
{
int result;
asm ("pushl %esi"); /* Disalign runtime stack. */
/* { dg-options "-mpreferred-stack-boundary=4 -msse" } */
/* { dg-require-effective-target ilp32 } */
+#include "sse-check.h"
+
extern void abort(void);
void __attribute__((fastcall, sseregparm)) foo(int i, int j, float x)
abort ();
}
-int main()
+static void
+sse_test (void)
{
foo(0,0,0.0);
foo(0,0,0.0);
- return 0;
}
/* { dg-do run } */
/* { dg-options "-msse" } */
+#include "sse-check.h"
+
extern void abort(void);
typedef int __attribute__ ((vector_size (16))) foo_t;
abort ();
}
-int main()
+static void
+sse_test (void)
{
check (3, s1, 7);
- return 0;
}
/* { dg-require-effective-target dfp } */
/* { dg-options "-Os -msse -std=gnu99" } */
+#include "sse-check.h"
+
extern void abort (void);
-int main()
+static void
+sse_test (void)
{
if (7.999999999999999999999999999999999E6144dl + 3.0E6144dl
!= __builtin_infd32 ())
abort ();
-
- return 0;
}