Commit ac3b8691 by Uros Bizjak Committed by Uros Bizjak

*.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
parent f8dd107d
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
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O1 -ffast-math -march=i686" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2" } */
void bar(char *p)
......
/* { dg-do run { target i?86-*-* x86_64-*-*} } */
/* { dg-do run } */
/* { dg-options "-O2" } */
extern void abort (void);
......
/* { 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" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-Os -fpic" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O0 -fpic" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
extern inline float bar (float x)
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-w" } */
void f ()
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2" } */
extern void abort (void);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
int foo (int s)
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mtune=k6" } */
......
/* 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" } { "" } } */
......
/* 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" } */
......
/* 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" } } */
......
......@@ -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);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-msoft-float -mfp-ret-in-387" } */
......
/* 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 } */
......
/* 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" } */
......
/* 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)));
......
/* PR opt/6722 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2" } */
#if !__PIC__
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=k6" } */
......
/* 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;
......
/* 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 *);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler "testb" } } */
ftn (char *sp)
......
/* 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)));
......
/* 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" } */
......
/* 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" } */
......
/* { dg-do run { target i?86-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-std=gnu99 -msse2" } */
#include <emmintrin.h>
......
/* { dg-do compile { target i?86-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-std=gnu99" } */
int
......
/* { dg-do run { target i?86-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-std=gnu99 -msse2 -mstackrealign" } */
#include <emmintrin.h>
......
/* { dg-do compile { target i?86-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mstackrealign" } */
int
......
/* 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" } } */
......
/* PR tree-optimization/24964 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -mfpmath=387" } */
double fabs(double x);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -mfpmath=387" } */
double foo(double x, double y)
......
/* PR target/26915 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O" } */
......
/* 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" } } */
......
/* 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" } } */
......
/* { 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" } } */
......
/* 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" } } */
......
/* 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" } } */
......
/* 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" } } */
......
/* 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" } } */
......
/* 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" } */
......
/* { 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
......
/* { 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
......
/* { 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" } */
......
/* { 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" } */
......
/* 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);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options -O2 } */
extern int printf (const char *, ...);
......
/* Test double on x86. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options -O2 } */
extern void abort (void);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options -O2 } */
int bug(void)
......
/* { 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)
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentiumpro" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options -O0 } */
typedef int SItype __attribute__ ((mode (SI)));
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-fPIC" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-fPIC" } */
......
/* 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 } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentiumpro" } */
......
/* 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)
......
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-ansi -pedantic" } */
int foo ()
......
/* { 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
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -mtune=i486" } */
......
/* { 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" } */
......
/* 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; }
......
/* PR opt/13862 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O" } */
......
/* 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* } { "*" } { "" } } */
......
/* 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" } */
......
/* PR inline-asm/11676 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2" } */
......
/* { 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" } */
......
// 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*} }
......
// 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* } }
......
// 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* } }
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "sbb" } } */
......
/* 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. */
......
/* { 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. */
......
/* { 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. */
......
/* 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);
......
/* { 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" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "sbb" } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "cmov" } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "cmov" } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "sbb" } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "cmov\[^6\]" } } */
......
/* { 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)));
......
/* { 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" } */
......
/* { 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) {
......
/* { 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" } */
......
/* { 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) {
......
/* { 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" } } */
......
/* { 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;
......
/* { 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;
......
/* { 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);
......
/* { 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. */
......
/* { 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
......
/* { 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
......
/* { 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
......
/* { 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
......
/* { 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];
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentiumpro" } */
/* { dg-final { scan-assembler "leal" } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -funit-at-a-time" } */
/* { dg-final { scan-assembler "magic\[^\\n\]*eax" { target ilp32 } } } */
/* { dg-final { scan-assembler "magic\[^\\n\]*edi" { target lp64 } } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -funit-at-a-time -fomit-frame-pointer" } */
/* { dg-skip-if "PR 25214" { ilp32 } { "-fpic" "-fPIC" } { "" } } */
/* { dg-final { scan-assembler-not "sub\[^\\n\]*sp" } } */
......
/* PR optimization/9888 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mtune=k6 -O3" } */
......
/* PR optimization/9888 */
/* Originator: Jim Bray <jb@as220.org> */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mtune=k6 -Os" } */
......
/* PR target/11044 */
/* Originator: Tim McGrath <misty-@charter.net> */
/* Testcase contributed by Eric Botcazou <ebotcazou@libertysurf.fr> */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mtune=k6 -O3 -ffast-math -funroll-loops" } */
......
/* { dg-do compile { target i?86-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentiumpro -minline-all-stringops" } */
/* { dg-final { scan-assembler "rep" } } */
......
......@@ -7,7 +7,7 @@
Written by Michael Meissner, March 9, 2002.
Target by Roger Sayle, April 25, 2002. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -minline-all-stringops" } */
extern void *memset (void *, int, __SIZE_TYPE__);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -mmmx" } */
/* Test that the intrinsics compile with optimization. All of them are
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O0 -mmmx" } */
/* Test that the intrinsics compile without optimization. All of them are
......
/* PR target/8870 */
/* Originator: otaylor@redhat.com */
/* { dg-do compile { target i?86-*-* x86_64-*-*} } */
/* { dg-do compile } */
/* { dg-options "-O1 -mmmx -march=k8" } */
typedef short v4hi __attribute__ ((vector_size (8)));
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -mmmx" } */
#include <mmintrin.h>
#include <stdio.h>
......
/* PR rtl-optimization/17853 */
/* Contributed by Stuart Hastings <stuart@apple.com> */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -mmmx" } */
#include <mmintrin.h>
#include <stdlib.h>
......
/* PR middle-end/17767 */
/* Contributed by Volker Reichelt <reichelt@igpm.rwth-aachen.de> */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O -mmmx" } */
typedef int __m64 __attribute__ ((vector_size (8)));
typedef short __v4hi __attribute__ ((vector_size (8)));
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse3" } */
/* Verify that they work in both 32bit and 64bit. */
......
/* { 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" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */
/* { dg-final { scan-assembler "cmpordss" } } */
/* { dg-final { scan-assembler "cmpordps" } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler "setnp" } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-final { scan-assembler "setnp" } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentium4" } */
/* { dg-final { scan-assembler-not "imull" } } */
......
/* PR target/8340 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-fPIC" } */
......
/* PR rtl-optimization/12092 */
/* Test case reduced by Andrew Pinski <pinskia@physics.uc.edu> */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mtune=i486 -march=pentium4 -fprefetch-loop-arrays" } */
......
/* PR middle-end/14289 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O0" } */
register int a[2] asm("ebx");
......
/* PR rtl-optimization/18614 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */
typedef double v2df __attribute__ ((vector_size (16)));
......
/* PR target/19236 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-ffast-math" } */
extern float log1pf (float);
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2" } */
void *x (void *pdst, const void *psrc, unsigned int pn)
......
/* This used to ICE in side_effects_p, due to a problem in cse.c.
Origin: marcus at jet dot franken dot de. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -fPIC" } */
......
/* PR target/25254 */
/* { dg-do compile { target lp64 } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-mcmodel=medium -mlarge-data-threshold=1" } */
const struct { int i; int j; } c = { 2, 6 };
......
/* { dg-do run { target ilp32 } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mpreferred-stack-boundary=2 -march=i686 -frename-registers" } */
extern void abort (void) __attribute__((noreturn));
......
/* { dg-do compile { target ilp32 } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentium3" } */
typedef union {
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -fomit-frame-pointer -march=i586" } */
......
/* { dg-do compile { target ilp32 } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mfpmath=387" } */
double a, b;
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2" } */
extern void abort (void);
......
/* PR inline-asm/30505 */
/* { dg-do compile { target ilp32 } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2" } */
unsigned long long a, c;
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } }
/* { dg-do compile }
/* { dg-options "-msse2 -O2 -ftree-vectorize" } */
#define N 256
......
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O" } */
typedef int int32_t;
......
/* { dg-do run { target { { i?86-*-linux* x86_64-*-linux* } && lp64 } } } */
/* { dg-do run { target *-*-linux* } } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2" } */
extern void abort(void);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */
typedef long long __m128i __attribute__ ((__vector_size__ (16)));
......
/* Testcase by Mike Frysinger <vapier@gentoo.org> */
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-msse" } */
double f1();
......
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2" } */
typedef long long __m128i __attribute__ ((__vector_size__ (16)));
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */
typedef long long __v2di __attribute__ ((__vector_size__ (16)));
......
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -mtune=k8" } */
typedef long long __v2di __attribute__ ((__vector_size__ (16)));
......
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -mtune=core2" } */
typedef long long __v2di __attribute__ ((__vector_size__ (16)));
......
/* PR rtl-optimization/9771 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -fomit-frame-pointer -ffixed-ebp" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math -msse -mfpmath=sse -mrecip" } */
float t1(float a, float b)
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math -msse -mfpmath=sse -mrecip" } */
extern float sqrtf (float);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse -mfpmath=sse -mrecip" } */
float a[16];
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse -mfpmath=sse -mrecip" } */
float a[16];
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-W -Wall" } */
......
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O3 -msse2 -fdump-rtl-csa" } */
#include <emmintrin.h>
......
......@@ -13,4 +13,4 @@ main (void)
return c;
}
/* { dg-final { scan-assembler "rolb" { target i?86-*-* x86_64-*-* } } } */
/* { dg-final { scan-assembler "rolb" } } */
/* Check that indirect sibcalls understand regparm. */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2" } */
......
/* PR optimization/8746 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O1 -mtune=i586" } */
......
/* PR optimization/8746 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O1 -mtune=i586" } */
......
/* PR optimization/8746 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O1 -mtune=i586" } */
......
/* PR 17930 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O1 -msse2 -mfpmath=sse -mno-accumulate-outgoing-args -fno-omit-frame-pointer" } */
#include "../../gcc.dg/i386-cpuid.h"
......
/* PR rtl-optimization/21239 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include <emmintrin.h>
#include "../../gcc.dg/i386-cpuid.h"
......
/* Test that {,x,e,p,t,s,a}mmintrin.h, mm3dnow.h and mm_malloc.h are
usable with -O -std=c89 -pedantic-errors. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O -std=c89 -pedantic-errors -march=k8 -m3dnow -msse4.1 -msse4a" } */
#include <ammintrin.h>
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse4.1 -msse4a" } */
/* Test that the intrinsics compile with optimization. All of them are
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O0 -msse4.1 -msse4a" } */
/* Test that the intrinsics compile without optimization. All of them are
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse -msse2" } */
/* Test that the intrinsics compile with optimization. These were not
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O0 -msse" } */
typedef float __vr __attribute__ ((vector_size (16)));
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include <xmmintrin.h>
extern void abort();
......
/* Test that we don't generate a fisttp instruction when -mno-sse3. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O -mfpmath=387 -march=nocona -mno-sse3" } */
/* { dg-final { scan-assembler-not "fisttp" } } */
struct foo
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-Winline -O2 -march=i386" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include <xmmintrin.h>
#include <stdio.h>
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse" } */
#include <xmmintrin.h>
#include <stdio.h>
......
/* PR target/14343 */
/* Origin: <Pawe Sikora <pluto@ds14.agh.edu.pl> */
/* The xstormy16 doesn't support V2DI. */
/* { dg-do compile { xfail xstormy16-*-* } } */
/* { dg-options "" } */
/* { dg-options "-march=pentium3" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-march=pentium3" } */
int main()
{
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse" } */
#include <xmmintrin.h>
#include <stdlib.h>
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O0 -msse2" } */
#include <xmmintrin.h>
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include "sse2-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include "sse2-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include "sse2-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include "sse2-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include "sse2-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2" } */
#include "sse2-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse3" } */
#include "sse3-check.h"
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do run } */
/* { dg-require-effective-target lp64 } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do run } */
/* { dg-require-effective-target lp64 } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do run } */
/* { dg-require-effective-target lp64 } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-do run } */
/* { dg-require-effective-target lp64 } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.2" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4a } */
/* { dg-options "-O2 -msse4a" } */
#include <ammintrin.h>
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4a } */
/* { dg-options "-O2 -msse4a" } */
#include <ammintrin.h>
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4a } */
/* { dg-options "-O2 -msse4a" } */
#include <ammintrin.h>
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target sse4a } */
/* { dg-options "-O2 -msse4a" } */
#include <ammintrin.h>
......
/* Test argument passing with SSE and local functions
Written by Paolo Bonzini, 25 January 2005 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-final { scan-assembler "movss" } } */
/* { dg-final { scan-assembler "mulss" } } */
......
/* Test argument passing with SSE2 and local functions
Written by Paolo Bonzini, 25 January 2005 */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-final { scan-assembler "movss" } } */
/* { dg-final { scan-assembler "mulss" } } */
......
/* Execution test for argument passing with SSE and local functions
Written by Paolo Bonzini, 25 January 2005 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse -mfpmath=sse" } */
#include <assert.h>
#include "../../gcc.dg/i386-cpuid.h"
......
/* Execution test for argument passing with SSE2 and local functions
Written by Paolo Bonzini, 25 January 2005 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-options "-O2 -msse2 -mfpmath=sse" } */
#include <assert.h>
#include "../../gcc.dg/i386-cpuid.h"
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -march=k8 -mfpmath=sse" } */
/* { dg-final { scan-assembler "maxsd" } } */
/* { dg-final { scan-assembler "minsd" } } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -march=k8 -mfpmath=sse" } */
/* { dg-final { scan-assembler "maxsd" } } */
/* { dg-final { scan-assembler "minsd" } } */
......
/* { 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 -msse2 -march=k8" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -march=k8" } */
/* { dg-final { scan-assembler "andpd" } } */
/* { dg-final { scan-assembler "andnpd" } } */
......
/* { 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 -msse2 -march=k8" } */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -march=k8" } */
/* { dg-final { scan-assembler "andps" } } */
/* { dg-final { scan-assembler "andnps" } } */
......
/* { 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 -msse2 -march=k8" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ssse3 } */
/* { dg-options "-O2 -mssse3" } */
......
/* { dg-do compile { target lp64 } } */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-skip-if "darwin x86_64 is pic" { *-*-darwin* } { "*" } { "" } } */
/* { dg-options "-O2 -fstack-protector-all -mcmodel=kernel" } */
......
/* { dg-do run { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mstackrealign -O2" } */
extern void abort (void);
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */
/* { dg-final { scan-assembler "cmpunordss" } } */
/* { dg-final { scan-assembler "cmpunordps" } } */
......
/* PR optimization/8599 */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-do run } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mtune=k6 -O2 -funroll-loops" } */
......
/* PR optimization/11381 */
/* Originator: <tobias@ringstrom.mine.nu> */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O" } */
/* Verify that the comparison is not optimized away. */
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-O2 -march=k8" } */
unsigned short good(unsigned short a)
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-Os" } */
unsigned short good(unsigned short a)
......
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-do compile } */
/* { dg-options "-Os -msse2" } */
typedef float __m128 __attribute__ ((vector_size (16)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment