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
This commit is contained in:
Uros Bizjak 2011-10-24 20:04:37 +02:00 committed by Uros Bizjak
parent 3f6a1bb12d
commit d00fe66276
4 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,11 @@
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.

View File

@ -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\]" } } */

View File

@ -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);

View File

@ -1,7 +1,6 @@
/* { 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;