comparison configure @ 22193:53070c001740

Fix setting of mtrr variable.
author diego
date Mon, 12 Feb 2007 13:59:25 +0000
parents c99ea6c32ae8
children 11704b3475a6
comparison
equal deleted inserted replaced
22192:5f625f7ac271 22193:53070c001740
2145 extcheck $_sse "sse" "xorps %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse" 2145 extcheck $_sse "sse" "xorps %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse"
2146 extcheck $_sse2 "sse2" "xorpd %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse2" 2146 extcheck $_sse2 "sse2" "xorpd %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse2"
2147 extcheck $_cmov "cmov" "cmovb %%eax,%%ebx" 2147 extcheck $_cmov "cmov" "cmovb %%eax,%%ebx"
2148 2148
2149 echocheck "mtrr support" 2149 echocheck "mtrr support"
2150 if test "$_mtrr" = kernel_check ; then
2151 _mtrr="yes"
2152 _optimizing="$_optimizing mtrr"
2153 fi
2150 echores "$_mtrr" 2154 echores "$_mtrr"
2151
2152 if test "$_mtrr" = yes ; then
2153 _optimizing="$_optimizing mtrr"
2154 fi
2155 2155
2156 if test "$_gcc3_ext" != ""; then 2156 if test "$_gcc3_ext" != ""; then
2157 # if we had to disable sse/sse2 because the active kernel does not 2157 # if we had to disable sse/sse2 because the active kernel does not
2158 # support this instruction set extension, we also have to tell 2158 # support this instruction set extension, we also have to tell
2159 # gcc3 to not generate sse/sse2 instructions for normal C code 2159 # gcc3 to not generate sse/sse2 instructions for normal C code