20001101-1.c: Add -mcpu=ultrasparc.

* gcc.dg/20001101-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.
        * gcc.dg/20001102-1.c: Likewise.

From-SVN: r51420
This commit is contained in:
Richard Henderson 2002-03-26 17:23:35 -08:00 committed by Richard Henderson
parent b3689904c1
commit 6a3177b9fb
3 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2002-03-26 Richard Henderson <rth@redhat.com>
* gcc.dg/20001101-1.c: Add -mcpu=ultrasparc. Only run on
sparcv9 systems.
* gcc.dg/20001102-1.c: Likewise.
2002-03-26 Phil Edwards <pme@gcc.gnu.org>
* gcc.dg/cpp/endif-pedantic1.c,

View File

@ -1,5 +1,7 @@
/* { dg-do run { target sparc*-*-* } } */
/* { dg-options "-O2 -mvis" } */
/* ??? It'd be nice to run this for sparc32 as well, if we could know
for sure that we're on an ultrasparc, rather than an older cpu. */
/* { dg-do run { target sparcv9-*-* sparc64-*-* } } */
/* { dg-options "-O2 -m32 -mcpu=ultrasparc -mvis" } */
int foo(double a, int b, int c, double *d, int h)
{

View File

@ -1,5 +1,7 @@
/* { dg-do run { target sparc*-*-* } } */
/* { dg-options "-O2 -mvis" } */
/* ??? It'd be nice to run this for sparc32 as well, if we could know
for sure that we're on an ultrasparc, rather than an older cpu. */
/* { dg-do run { target sparcv9-*-* sparc64-*-* } } */
/* { dg-options "-O2 -m32 -mcpu=ultrasparc -mvis" } */
int foo(double a, int b, int c, double *d, int h)
{