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

David Cournapeau david@ar.media.kyoto-u.ac...
Fri Oct 31 05:25:31 CDT 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