Subject: Re: devel/cpuflags delivers wrong value on macppc (Power Mac G4)
To: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <>
From: David Brownlee <>
List: current-users
Date: 11/03/2004 18:19:32
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Wed, 3 Nov 2004, Timo Sch=F6ler wrote:

>> =09Those entried were probably added before gcc 3.1.x and the support
>> =09for the -mcpu=3D7400 and -mcpu=3D7450
>> =09Could you try the attached?
>> =09It falls back to -mcpu=3D740 for versions of gcc before -mcpu=3D7400 =
>> =09-mcpu=3D7450. Do you know of a better option?
> i'd say to 'fall back' to the -mcpu=3D750 rather than 740.
> AFAICT, the 740 is a 750 w/o L2 cache, so any G4 is more a 750-like CPU t=
> a 740-like, 'cos there are effectively no G4s w/o L2 cache (remember that=
> while the G3 uses the old 60x-style bus, the G4 features the so-called MP=
> bus and _also_ supports the old 601 for backward compatibility however [3=
> so optimization for a 750 (aka full-featured G3) would be best IMHO (tho =
> really don't know whether gcc handles the lack of L2 cache for the 740 th=
> 'intensive')...

 =09cpuflags 0.77 committed - thanks.

 =09=09David/absolute       -- No hype required --