Commit d00fe662 by Uros Bizjak Committed by Uros Bizjak

sse-5.c (dg-options): Add -mno-sse.

	* gcc.target/i386/sse-5.c (dg-options): Add -mno-sse.
	Remove -march=i386.
	(dg-skip-if): Remove.
	* gcc.target/i386/funcspec-1.c: Ditto.
	* gcc.target/i386/funcspec-3.c (dg-options): Add -mno-sse3.

From-SVN: r180397
parent 3f6a1bb1
2011-10-24 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/sse-5.c (dg-options): Add -mno-sse.
Remove -march=i386.
(dg-skip-if): Remove.
* gcc.target/i386/funcspec-1.c: Ditto.
* gcc.target/i386/funcspec-3.c (dg-options): Add -mno-sse3.
2011-10-24 Richard Guenther <rguenther@suse.de>
* gcc.dg/vect/vect-bool-1.c: New testcase.
......
......@@ -3,10 +3,7 @@
for a function that doesn't use attribute((option)). */
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=i386" } } */
/* { dg-options "-O3 -ftree-vectorize -march=i386" } */
/* { dg-final { scan-assembler "addps\[ \t\]" } } */
/* { dg-final { scan-assembler "fsubs\[ \t\]" } } */
/* { dg-options "-O3 -ftree-vectorize -mno-sse" } */
#ifndef SIZE
#define SIZE 1024
......@@ -33,3 +30,6 @@ i387_subnums (void)
for (; i < SIZE; ++i)
a[i] = b[i] - c[i];
}
/* { dg-final { scan-assembler "addps\[ \t\]" } } */
/* { dg-final { scan-assembler "fsubs\[ \t\]" } } */
......@@ -2,7 +2,7 @@
setting the architecture. */
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-options "-O2 -march=k8 -mno-sse3" } */
extern void exit (int);
extern void abort (void);
......
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=i386" } } */
/* { dg-options "-Winline -Wno-psabi -O2 -march=i386" } */
/* { dg-options "-Winline -Wno-psabi -O2 -mno-sse" } */
typedef double v2df __attribute__ ((vector_size (16)));
v2df p;
......
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