/[MITgcm]/MITgcm/tools/build_options/linux_ia32_g77
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_ia32_g77

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.13 by jmc, Thu Jan 27 14:20:06 2005 UTC revision 1.14 by edhill, Mon Jan 31 16:27:13 2005 UTC
# Line 17  if test "x$IEEE" = x ; then Line 17  if test "x$IEEE" = x ; then
17      FOPTIM='-O3 -malign-double -funroll-loops'      FOPTIM='-O3 -malign-double -funroll-loops'
18  else  else
19      #  Try to follow IEEE-754      #  Try to follow IEEE-754
20      FFLAGS='-Wimplicit -Wunused -ffloat-store -mfpmath=sse -msse -msse2'      has_sse2=f
21        grep flags /proc/cpuinfo | grep sse2 > /dev/null 2>&1  &&  has_sse2=t
22        if test "x$has_sse2" = xt ; then
23            FFLAGS='-Wimplicit -Wunused -ffloat-store -mfpmath=sse -msse -msse2'
24        else
25            FFLAGS='-Wimplicit -Wunused -ffloat-store -mfpmath=sse -msse'
26        fi
27        echo 'FFLAGS="'$FFLAGS'"'
28      FOPTIM='-O0 -malign-double'      FOPTIM='-O0 -malign-double'
29  fi  fi
30    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.22