*.c: Remove target selectors from dg-do directives.

* gcc.target/i386/*.c: Remove target selectors from dg-do directives.
	* gcc.target/i386/991129-1.c, gcc.target/i386/991209-1.c,
	gcc.target/i386/991214-1.c, gcc.target/i386/pr26778.c,
	gcc.target/i386/pr27827.c, gcc.target/i386/pr30505.c,
	gcc.target/i386/pr32389.c, gcc.target/i386/sse-8.c,
	gcc.target/i386/stack-realign.c,
	gcc.target/i386/gcc-have-sync-compare-and-swap-1.c,
	gcc.target/i386/gcc-have-sync-compare-and-swap-2.c,
	gcc.target/i386/gcc-have-sync-compare-and-swap-3.c: Require ilp32
	target using dg-require-effective-target directive.
	* gcc.target/i386/amd64-abi-1.c, gcc.target/i386/amd64-abi-2.c,
	gcc.target/i386/cleanup-2.c, gcc.target/i386/cmpxchg16b-1.c,
	gcc.target/i386/gcc-have-sync-compare-and-swap-4.c,
	gcc.target/i386/large-size-array-3.c, gcc.target/i386/pr25254.c,
	gcc.target/i386/pr31167.c, gcc.target/i386/pr32268.c,
	gcc.target/i386/pr32661-1.c, gcc.target/i386/pr32708-2.c,
	gcc.target/i386/pr32708-3.c, gcc.target/i386/sse4_1-pextrq.c,
	gcc.target/i386/sse4_1-pinsrq.c, gcc.target/i386/sse4_2-crc32q.c,
	gcc.target/i386/sse4_2-popcntq.c, gcc.target/i386/stack-prot-kernel.c:
	Require lp64 target using dg-require-effective-target directive.
	* gcc.target/i386/cleanup-1.c, gcc.target/i386/cleanup-2.c,
	gcc.target/i386/pr32268.c: Use *-*-linux* target selector in dg-do
	directive.
	* gcc.target/i386/20010202-1.c: Move from here ...
	* gcc.dg/20010202-1.c: ... to here.

From-SVN: r127698
This commit is contained in:
Uros Bizjak 2007-08-22 11:59:14 +02:00 committed by Uros Bizjak
parent f8dd107d4c
commit ac3b8691e8
304 changed files with 364 additions and 307 deletions

View File

@ -1,3 +1,31 @@
2007-08-22 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/*.c: Remove target selectors from dg-do directives.
* gcc.target/i386/991129-1.c, gcc.target/i386/991209-1.c,
gcc.target/i386/991214-1.c, gcc.target/i386/pr26778.c,
gcc.target/i386/pr27827.c, gcc.target/i386/pr30505.c,
gcc.target/i386/pr32389.c, gcc.target/i386/sse-8.c,
gcc.target/i386/stack-realign.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-1.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-2.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-3.c: Require ilp32
target using dg-require-effective-target directive.
* gcc.target/i386/amd64-abi-1.c, gcc.target/i386/amd64-abi-2.c,
gcc.target/i386/cleanup-2.c, gcc.target/i386/cmpxchg16b-1.c,
gcc.target/i386/gcc-have-sync-compare-and-swap-4.c,
gcc.target/i386/large-size-array-3.c, gcc.target/i386/pr25254.c,
gcc.target/i386/pr31167.c, gcc.target/i386/pr32268.c,
gcc.target/i386/pr32661-1.c, gcc.target/i386/pr32708-2.c,
gcc.target/i386/pr32708-3.c, gcc.target/i386/sse4_1-pextrq.c,
gcc.target/i386/sse4_1-pinsrq.c, gcc.target/i386/sse4_2-crc32q.c,
gcc.target/i386/sse4_2-popcntq.c, gcc.target/i386/stack-prot-kernel.c:
Require lp64 target using dg-require-effective-target directive.
* gcc.target/i386/cleanup-1.c, gcc.target/i386/cleanup-2.c,
gcc.target/i386/pr32268.c: Use *-*-linux* target selector in dg-do
directive.
* gcc.target/i386/20010202-1.c: Move from here ...
* gcc.dg/20010202-1.c: ... to here.
2007-08-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/33142

View File

@ -1,4 +1,4 @@
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O1 -ffast-math -march=i686" } */

View File

@ -1,4 +1,4 @@
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2" } */
void bar(char *p)

View File

@ -1,4 +1,4 @@
/* { dg-do run { target i?86-*-* x86_64-*-*} } */
/* { dg-do run } */
/* { dg-options "-O2" } */
extern void abort (void);

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mpreferred-stack-boundary=2 -march=i586 -O2 -fomit-frame-pointer" } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-Os -fpic" } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O0 -fpic" } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
extern inline float bar (float x)

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-w" } */
void f ()

View File

@ -1,4 +1,4 @@
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2" } */
extern void abort (void);

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
int foo (int s)

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mtune=k6" } */

View File

@ -1,5 +1,5 @@
/* Test for reload failing to eliminate from argp to sp. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target fpic } */
/* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */

View File

@ -1,6 +1,6 @@
/* This testcase ICEd because a SFmode variable was given a MMX register
for which there is no movsf exists. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=i686 -mmmx -fno-strict-aliasing" } */

View File

@ -1,5 +1,5 @@
/* Verify that X86-64 only SSE registers aren't restored on IA-32. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -msse" } */
/* { dg-final { scan-assembler-not "xmm8" } } */

View File

@ -3,7 +3,7 @@
expected the callee to pop up the hidden return structure pointer,
while callee was actually not poping it up (as the hidden argument
was passed in register). */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -fomit-frame-pointer" } */
extern void abort (void);

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-msoft-float -mfp-ret-in-387" } */

View File

@ -1,7 +1,7 @@
/* PR target/6753
This testcase was miscompiled because sse_mov?fcc_const0*
patterns were missing earlyclobber. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-skip-if "" { ilp32 } { "-fpic" "-fPIC" } { "" } } */
/* { dg-skip-if "PIC default" { *-*-darwin* } { "*" } { "" } } */
/* { dg-require-effective-target ilp32 } */

View File

@ -1,7 +1,7 @@
/* PR target/6753
This testcase was miscompiled because sse_mov?fcc_const0*
patterns were missing earlyclobber. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-march=pentium3 -msse -ffast-math -O2" } */

View File

@ -1,7 +1,7 @@
/* PR optimization/6842
This testcase caused ICE when trying to optimize V8QI subreg of VOIDmode
CONST_DOUBLE. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -mmmx" } */
typedef char __v8qi __attribute__ ((vector_size (8)));

View File

@ -1,5 +1,5 @@
/* PR opt/6722 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2" } */
#if !__PIC__

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=k6" } */

View File

@ -1,6 +1,6 @@
/* Test whether denormal floating point constants in hexadecimal notation
are parsed correctly. */
/* { dg-do run { target i?86-*-linux* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-std=c99" } */
long double d = 0x0.0000003ffffffff00000p-16357L;

View File

@ -1,7 +1,7 @@
/* PR optimization/11741 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -minline-all-stringops" } */
/* { dg-options "-O2 -minline-all-stringops -march=pentium4" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-options "-O2 -minline-all-stringops -march=pentium4" { target ilp32 } } */
extern void *memcpy (void *, const void *, __SIZE_TYPE__);
extern __SIZE_TYPE__ strlen (const char *);

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler "testb" } } */
ftn (char *sp)

View File

@ -1,5 +1,5 @@
/* PR middle-end/19164 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-mmmx" } */
typedef short int V __attribute__ ((vector_size (8)));

View File

@ -1,5 +1,5 @@
/* PR rtl-optimization/25703 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mtune=i486" } */

View File

@ -1,5 +1,5 @@
/* PR rtl-optimization/25703 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mtune=pentiumpro" } */

View File

@ -1,4 +1,4 @@
/* { dg-do run { target i?86-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-std=gnu99 -msse2" } */
#include <emmintrin.h>

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-std=gnu99" } */
int

View File

@ -1,4 +1,4 @@
/* { dg-do run { target i?86-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-std=gnu99 -msse2 -mstackrealign" } */
#include <emmintrin.h>

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mstackrealign" } */
int

View File

@ -1,5 +1,5 @@
/* Verify that -mno-fancy-math-387 works. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387 -march=i386" } */
/* { dg-final { scan-assembler "call\t(.*)sin" } } */

View File

@ -1,5 +1,5 @@
/* PR tree-optimization/24964 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -mfpmath=387" } */
double fabs(double x);

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -mfpmath=387" } */
double foo(double x, double y)

View File

@ -1,5 +1,5 @@
/* PR target/26915 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O" } */

View File

@ -1,5 +1,5 @@
/* Verify that -march overrides -mno-fancy-math-387. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -mfpmath=387 -march=i686 -mno-fancy-math-387" } */
/* { dg-final { scan-assembler "fsin" } } */

View File

@ -1,5 +1,5 @@
/* Verify that 387 mathematical constants are recognized. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=i686" } */
/* { dg-final { scan-assembler "fldpi" } } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=i686" } */
/* { dg-final { scan-assembler "fldpi" } } */

View File

@ -1,5 +1,5 @@
/* Verify that -mno-fancy-math-387 works. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387 -march=i386" } */
/* { dg-final { scan-assembler "call\t(.*)atan" } } */

View File

@ -1,5 +1,5 @@
/* Verify that -march overrides -mno-fancy-math-387. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -mfpmath=387 -march=i686 -mno-fancy-math-387" } */
/* { dg-final { scan-assembler "fpatan" } } */

View File

@ -1,5 +1,5 @@
/* Verify that 387 fsincos instruction is generated. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -march=i686" } */
/* { dg-final { scan-assembler "fsincos" } } */

View File

@ -1,7 +1,7 @@
/* Verify that 387 fptan instruction is generated. Also check that
inherent load of 1.0 is used in further calculations. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -ffast-math -march=i686" } */
/* { dg-final { scan-assembler "fptan" } } */

View File

@ -1,5 +1,5 @@
/* Verify that 387 fsincos instruction is generated. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -funsafe-math-optimizations -march=i686" } */

View File

@ -1,4 +1,4 @@
/* { dg-do assemble { target i?86-*-* x86_64-*-* } } */
/* { dg-do assemble } */
/* { dg-options "-O2 -Werror-implicit-function-declaration -m3dnow" } */
/* Test that the intrinsics compile with optimization. All of them are

View File

@ -1,4 +1,4 @@
/* { dg-do assemble { target i?86-*-* x86_64-*-* } } */
/* { dg-do assemble } */
/* { dg-options "-O0 -Werror-implicit-function-declaration -m3dnow" } */
/* Test that the intrinsics compile without optimization. All of them are

View File

@ -1,4 +1,4 @@
/* { dg-do assemble { target i?86-*-* x86_64-*-* } } */
/* { dg-do assemble } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -Werror-implicit-function-declaration -m3dnow -march=athlon" } */

View File

@ -1,4 +1,4 @@
/* { dg-do assemble { target i?86-*-* x86_64-*-* } } */
/* { dg-do assemble } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O0 -Werror-implicit-function-declaration -m3dnow -march=athlon" } */

View File

@ -1,6 +1,6 @@
/* Test long double on x86 and x86-64. */
/* { dg-do run { target i?86-*-* x86_64-*-*} } */
/* { dg-do run } */
/* { dg-options -O2 } */
extern void abort (void);

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options -O2 } */
extern int printf (const char *, ...);

View File

@ -1,6 +1,6 @@
/* Test double on x86. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options -O2 } */
extern void abort (void);

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options -O2 } */
int bug(void)

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options -O2 } */
extern __inline__ int test_and_set_bit(int nr, volatile void * addr)

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentiumpro" } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options -O0 } */
typedef int SItype __attribute__ ((mode (SI)));

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-fPIC" } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-fPIC" } */

View File

@ -1,7 +1,7 @@
/* Test that stack alignment is preserved with pending_stack_adjust
with stdcall functions. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options -mpreferred-stack-boundary=4 } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentiumpro" } */

View File

@ -1,6 +1,7 @@
/* Test against a problem in push_reload. */
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2" } */
unsigned long foo (unsigned long long x, unsigned long y)

View File

@ -1,4 +1,5 @@
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-ansi -pedantic" } */
int foo ()

View File

@ -1,4 +1,5 @@
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2" } */
/* Test against a problem with the combiner substituting explicit hard reg

View File

@ -1,4 +1,4 @@
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -mtune=i486" } */

View File

@ -1,4 +1,5 @@
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-mno-sse" } */
double foo(void) { return 0; } /* { dg-error "SSE disabled" } */

View File

@ -1,5 +1,6 @@
/* PR target/26223 */
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-mno-80387" } */
long double foo(long double x) { return x; } /* { dg-error "x87 disabled" } */
long double bar(long double x) { return x; }

View File

@ -1,5 +1,5 @@
/* PR opt/13862 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O" } */

View File

@ -1,5 +1,5 @@
/* PR inline-asm/6806 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-skip-if "" { ilp32 } { "-fpic" "-fPIC" } { "" } } */
/* { dg-skip-if "PIC default" { *-*-darwin* } { "*" } { "" } } */

View File

@ -1,7 +1,7 @@
/* Test if functions marked __attribute__((used)), but with address never
taken in C code, don't use alternate calling convention for local
functions on IA-32. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* The asm in this test uses an absolute address. */
/* { dg-require-effective-target nonpic } */
/* { dg-options "-O2" } */

View File

@ -1,5 +1,5 @@
/* PR inline-asm/11676 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2" } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
void foo1(int i, int j) __attribute__((fastcall, cdecl)); /* { dg-error "not compatible" } */

View File

@ -1,5 +1,5 @@
// Test for bitfield alignment in structs on IA-32
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-do run }
// { dg-require-effective-target ilp32 }
// { dg-options "-O2" }
// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-interix* i?86-*-cygwin* i?86-*-mingw*} }

View File

@ -1,5 +1,5 @@
// Test for bitfield alignment in structs on IA-32
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-do run }
// { dg-require-effective-target ilp32 }
// { dg-options "-O2" }
// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-interix* i?86-*-cygwin* i?86-*-mingw* } }

View File

@ -1,5 +1,5 @@
// Test for bitfield alignment in structs on IA-32
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-do run }
// { dg-options "-O2" }
// { dg-options "-mno-align-double -mno-ms-bitfields" { target *-*-interix* } }

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "sbb" } } */

View File

@ -1,6 +1,6 @@
/* PR optimization/11304 */
/* Originator: <manuel.serrano@sophia.inria.fr> */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O -fomit-frame-pointer" } */
/* Verify that %eax is always restored after a call. */

View File

@ -1,4 +1,4 @@
/* { dg-do run { target i?86-*-linux* x86_64-*-linux* } } */
/* { dg-do run { target *-*-linux* } } */
/* { dg-options "-fexceptions -fnon-call-exceptions -fasynchronous-unwind-tables -O2" } */
/* Test complex CFA value expressions. */

View File

@ -1,4 +1,5 @@
/* { dg-do run { target { { i?86-*-linux* x86_64-*-linux* } && lp64 } } } */
/* { dg-do run { target *-*-linux* } } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-fexceptions -fnon-call-exceptions -fasynchronous-unwind-tables -O2" } */
/* Test complex CFA value expressions. */

View File

@ -1,6 +1,6 @@
/* Test asm clobbers on x86. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-skip-if "" { ilp32 } { "-fpic" "-fPIC" } { "" } } */
extern void abort (void);

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* This test checks for absolute memory operands. */
/* { dg-require-effective-target nonpic } */
/* { dg-options "-O2 -march=k8" } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "sbb" } } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "cmov" } } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "cmov" } } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "sbb" } } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "cmov\[^6\]" } } */

View File

@ -1,4 +1,5 @@
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -mcx16" } */
typedef int TItype __attribute__ ((mode (TI)));

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86*-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=387 -fpic" } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86*-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=387" } */
double foo (double x) {

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86*-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=sse -fpic" } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86*-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=sse" } */
double foo (double x) {

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8 -mfpmath=sse" } */
/* { dg-final { scan-assembler "cvttsd2si" } } */
/* { dg-final { scan-assembler "cvttss2si" } } */

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -march=k8" } */
/* { dg-final { scan-assembler-not "cvtss2sd" } } */
float a,b;

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -march=k8" } */
/* { dg-final { scan-assembler-not "cvtss2sd" } } */
float a,b;

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -march=k8" } */
/* { dg-final { scan-assembler-not "cvtss2sd" } } */
extern double fabs (double);

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8 -mfpmath=sse" } */
/* { dg-final { scan-assembler "cvtsi2sd" } } */
/* Check that conversions will get folded. */

View File

@ -1,4 +1,5 @@
/* { dg-do preprocess { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do preprocess } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-march=i386" } */
#ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1

View File

@ -1,4 +1,5 @@
/* { dg-do preprocess { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do preprocess } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-march=i486" } */
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1

View File

@ -1,5 +1,6 @@
/* { dg-do preprocess { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-march=i586" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do preprocess } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-march=i586" } */
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
#error nonono

View File

@ -1,4 +1,5 @@
/* { dg-do preprocess { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do preprocess } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-mcx16" } */
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1

View File

@ -1,4 +1,5 @@
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-mcmodel=medium" } */
/* { dg-final { scan-assembler "8589934588" } } */
int bigarray[2147483647];

Some files were not shown because too many files have changed in this diff Show More