fastcall-sseregparm.c: Include sse-check.h.
* 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. From-SVN: r132365
This commit is contained in:
parent
257a545bc0
commit
a6ab737796
|
@ -1,3 +1,13 @@
|
|||
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
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
/* { 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 ()
|
||||
{
|
||||
|
@ -17,8 +21,9 @@ self_aligning_function (int x, int y)
|
|||
}
|
||||
int g_1 = 20;
|
||||
int g_2 = 22;
|
||||
int
|
||||
main ()
|
||||
|
||||
static void
|
||||
sse2_test (void)
|
||||
{
|
||||
int result;
|
||||
asm ("pushl %esi"); /* Disalign runtime stack. */
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
/* { 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 ()
|
||||
{
|
||||
|
@ -17,8 +21,9 @@ self_aligning_function (int x, int y)
|
|||
}
|
||||
int g_1 = 20;
|
||||
int g_2 = 22;
|
||||
int
|
||||
main ()
|
||||
|
||||
static void
|
||||
sse2_test (void)
|
||||
{
|
||||
int result;
|
||||
asm ("pushl %esi"); /* Disalign runtime stack. */
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
/* { 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)
|
||||
|
@ -14,9 +16,9 @@ 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;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-msse" } */
|
||||
|
||||
#include "sse-check.h"
|
||||
|
||||
extern void abort(void);
|
||||
typedef int __attribute__ ((vector_size (16))) foo_t;
|
||||
|
||||
|
@ -25,8 +27,8 @@ check (int x, ...)
|
|||
abort ();
|
||||
}
|
||||
|
||||
int main()
|
||||
static void
|
||||
sse_test (void)
|
||||
{
|
||||
check (3, s1, 7);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -2,13 +2,14 @@
|
|||
/* { 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue