march-generic.c: Skip for -march in multilib options.

* gcc.dg/march-generic.c: Skip for -march in multilib options.
	* gcc.target/i386/isa-9.c: Skip for -march other than
	-march=amdfam10 in multilib options.
	* gcc.target/i386/pr42589.c: Skip for -march other than
	-march=i486 in multilib options.
	* gcc.target/i386/sse-19.c: Add -march=x86-64 option and skip for
	other -march in multilib options.

From-SVN: r165882
This commit is contained in:
Joseph Myers 2010-10-23 12:07:09 +01:00 committed by Joseph Myers
parent 18ed6ee4bf
commit 15ac394242
5 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,13 @@
2010-10-23 Joseph Myers <joseph@codesourcery.com>
* gcc.dg/march-generic.c: Skip for -march in multilib options.
* gcc.target/i386/isa-9.c: Skip for -march other than
-march=amdfam10 in multilib options.
* gcc.target/i386/pr42589.c: Skip for -march other than
-march=i486 in multilib options.
* gcc.target/i386/sse-19.c: Add -march=x86-64 option and skip for
other -march in multilib options.
2010-10-23 Jie Zhang <jie@codesourcery.com>
PR rtl-optimization/37360

View File

@ -1,4 +1,5 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-skip-if "" { *-*-* } { "-march=*" } { "" } } */
/* { dg-options "-march=generic" } */
/* { dg-error "generic CPU can be used only for -mtune" "" { target *-*-* } 0 } */
/* { dg-bogus "march" "" { target *-*-* } 0 } */

View File

@ -1,4 +1,5 @@
/* { dg-do run } */
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=amdfam10" } } */
/* { dg-options "-march=amdfam10 -mno-fma4" } */
extern void abort (void);

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=i486" } } */
/* { dg-options "-O2 -march=i486" } */
void

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O3 -msse2" } */
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=x86-64" } } */
/* { dg-options "-O3 -march=x86-64 -msse2" } */
/* { dg-final { scan-assembler "punpcklbw" } } */
extern void abort();
#include <emmintrin.h>