Subject: Re: devel/cpuflags delivers wrong value on macppc (Power Mac G4)
To: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <eclipser23@web.de>
From: David Brownlee <abs@NetBSD.org>
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.

--0-1041933923-1099505972=:480
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
>>=20
>> =09Could you try the attached?
>>=20
>> =09It falls back to -mcpu=3D740 for versions of gcc before -mcpu=3D7400 =
and
>> =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=
han=20
> a 740-like, 'cos there are effectively no G4s w/o L2 cache (remember that=
=20
> while the G3 uses the old 60x-style bus, the G4 features the so-called MP=
X=20
> 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 =
i=20
> really don't know whether gcc handles the lack of L2 cache for the 740 th=
at=20
> 'intensive')...

 =09cpuflags 0.77 committed - thanks.

--=20
 =09=09David/absolute       -- www.NetBSD.org: No hype required --
--0-1041933923-1099505972=:480--