X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=configure.ad;h=c9c292c9367acf22e662677823281f3bd9ca9dc7;hb=9b98dd11451535d0f25a7c682d5c6c70b1172aa1;hp=5b6c9510ea798d671642b2a8eaa34673ff01374d;hpb=adf03e69c4e96ffdac88e7cfe9c2b4583166eb6e;p=runtime.git diff --git a/configure.ad b/configure.ad index 5b6c9510..c9c292c9 100644 --- a/configure.ad +++ b/configure.ad @@ -197,17 +197,15 @@ if test x$want_cpu_optimizations = xtrue; then # Set some compiler options based on CPU if test "x$CC" = "xicc"; then # ICC flags - if test x$x_have_cpu_sse2 = xtrue; then - SILC_ADD_CFLAGS(-axW) - fi - if test x$x_have_cpu_sse3 = xtrue; then - SILC_ADD_CFLAGS(-axP) + if test x$x_have_cpu_sse4 = xtrue; then + SILC_ADD_CFLAGS(-axS) fi if test x$x_have_cpu_ssse3 = xtrue; then SILC_ADD_CFLAGS(-axT) - fi - if test x$x_have_cpu_sse4 = xtrue; then - SILC_ADD_CFLAGS(-axS) + elif test x$x_have_cpu_pni = xtrue; then + SILC_ADD_CFLAGS(-axP) + elif test x$x_have_cpu_sse2 = xtrue; then + SILC_ADD_CFLAGS(-axW) fi else # Other compilers