From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21544 invoked by uid 1002); 19 May 2003 11:13:25 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 2990 invoked from network); 19 May 2003 11:13:25 -0000 Message-ID: <62622.134.188.150.80.1053342804.squirrel@callisto.cs.kun.nl> Date: Mon, 19 May 2003 13:13:24 +0200 (CEST) From: "Paul de Vrieze" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [gentoo-dev] [ANN] CFLAGS Builder X-Archives-Salt: c0e26433-3db5-4b83-b4cb-c22ac7f3de9a X-Archives-Hash: e4aeaf1e4ad67eab74bcf323ac5277c5 David Nielsen said: > The -mcpu flag is depricated in GCC 3.3 - and should not be used anymore. So in all fairness it would be best not to record it's usage, it might mislead some users. The only depreciation I could find concerning mcpu is in the mips port, where it might not me appropriate. For x86 architectures it is available though and it also serves a needed option as it determines instruction scheduling. The march option does not, the march option determines which instructions are used. As scheduling for an architecture lower than the instructions is pointless implying mcpu makes sense. It is perfectly lega= l though to specify CFLAGS=3D"-march=3Dpentium -mcpu=3Dpentium4" This would create code that = runs on anything bigger than a pentium, but is optimally scheduled for the pentium4 processor. Scheduling has become increasingly important with the newer (pentium and further) processors as they have the ability to run some (but not all) instructions paralel to eachother. A p4 though provide= s more pipelines than a p1, so instructions need to be scheduled differentl= y to optimally use all pipelines. Paul --=20 Paul de Vrieze Researcher Mail: pauldv@cs.kun.nl Homepage: http://www.devrieze.net --=20 Paul de Vrieze Researcher Mail: pauldv@cs.kun.nl Homepage: http://www.devrieze.net -- gentoo-dev@gentoo.org mailing list