19 |
# Try to follow IEEE-754 |
# Try to follow IEEE-754 |
20 |
has_sse2=f |
has_sse2=f |
21 |
grep flags /proc/cpuinfo | grep sse2 > /dev/null 2>&1 && has_sse2=t |
grep flags /proc/cpuinfo | grep sse2 > /dev/null 2>&1 && has_sse2=t |
22 |
|
|
23 |
|
# older OS on sea.mit.edu does not support sse |
24 |
|
if [ `uname -n` = "sea" ]; then has_sse2=f; fi |
25 |
|
|
26 |
if test "x$has_sse2" = xt ; then |
if test "x$has_sse2" = xt ; then |
27 |
FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2' |
FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2' |
28 |
else |
else |