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

David Cournapeau david at ar.media.kyoto-u.ac.jp
Fri Oct 31 06:25:31 EDT 2008


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 ?

thanks,

David



More information about the NumPy-Discussion mailing list