[Numpy-discussion] Simplifying compiler optimization flags logic (fortran compilers)

Robert Kern robert.kern at gmail.com
Sat Nov 1 04:07:44 EDT 2008


On Fri, Oct 31, 2008 at 05:25, David Cournapeau
<david at ar.media.kyoto-u.ac.jp> wrote:
> Hi,
>
>    I was wondering whether it was really worth having a lot of magic
> going on in fcompilers for flags like -msse2 and co (everything done in
> get_flags_arch, for example). It is quite fragile (we had several
> problems wrt buggy compilers, buggy CPU detection), and I am not sure it
> buys us much anyway. Did some people notice a difference between
> gfortran -O3 -msse2 and gfortran -O3 ?

You're probably right.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list