This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: powerpc switches
Aldy Hernandez wrote:
if (rs6000_cpu == PROCESSOR_PPC8540)
! {
! rs6000_isel = 1;
! if (!TARGET_SPE)
! warning ("not configured for spe extensions");
! }
what do you suggest, a completely separate test?
if (cpu == 8540 && !target_spe)
warning (...)
without something like that you get a confusing
'implicit declaration of '__builtin_spe_whatever''
if you've remembered to -Wall. Without -Wall, you get an
even worse type mismatch, as the return type defaults to int.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org