This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
AltiVec test failures
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: David Edelsohn <dje at watson dot ibm dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 24 Mar 2005 23:02:42 -0800
- Subject: AltiVec test failures
- Organization: CodeSourcery, LLC
Aldy, David --
We have a bunch of tests (like gcc.dg/altivec-14.c) that are compilation
tests for AltiVec. These tests use:
/* { dg-options "-maltivec" } */
However, if your target defaults to a processor that does not have
Altivec (like, for example, PPC 603), then the PowerPC back end ignores
-maltivec.
I would like to change these tests to do:
/* { dg-options "-maltivec -mcpu=7400" } */
so that the tests work even for these configurations.
Any objection to that change?
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304