AltiVec test failures

David Edelsohn dje@watson.ibm.com
Fri Mar 25 16:42:00 GMT 2005


>>>>> Mark Mitchell writes:

Mark> We have a bunch of tests (like gcc.dg/altivec-14.c) that are compilation 
Mark> tests for AltiVec.  These tests use:

Mark> /* { dg-options "-maltivec" } */

Mark> However, if your target defaults to a processor that does not have 
Mark> Altivec (like, for example, PPC 603), then the PowerPC back end ignores 
Mark> -maltivec.

Mark> I would like to change these tests to do:

Mark> /* { dg-options "-maltivec -mcpu=7400" } */

Mark> so that the tests work even for these configurations.

Mark> Any objection to that change?

	I do not have a fundamental objection, but is this still
necessary?  I thought that options like -maltivec no longer is ignored.

David



More information about the Gcc-patches mailing list