[Python-Dev] Python & GCC 3.0

Fred L. Drake, Jr. fdrake@acm.org
Tue, 19 Jun 2001 15:04:18 -0400 (EDT)


Daniel Berlin writes:
 > Except, I bet you didn't use one of the "optimize for a given cpu"
 > switches.

  No, I hadn't.  My main interest was in the GCC team's claim that the
generated code was faster.  Compiling with "make OPT='-mcpu=i686 -O3'"
did not make much difference at all.

M.-A. Lemburg writes:
 > Note that if you really want to see a speedup for x86 boxes then
 > you should take a look at PGCC, the Pentium GCC compiler group:
 > 
 > 	http://www.goof.com/pcg/
 > 
 > You can then adjust the compiler to various x86 CPUs and
 > take advantage of some special optimizations they have intergrated
 > into 2.95.2.1. 

  If they have any improved optimizations for recent x86 chips, I'd
like to see them folded into GCC.  I'd hate to see another egcs-style
split.
  It doesn't look like I can just download a single source package
from them and wait 3 hours for it to build, so I won't plan on
pursuing this further.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations