Lines 5-14
Link Here
|
5 |
|
5 |
|
6 |
x86_mmx_cpus="pentium-mmx,pentium2,pentium3,pentium3m,pentium-m" |
6 |
x86_mmx_cpus="pentium-mmx,pentium2,pentium3,pentium3m,pentium-m" |
7 |
x86_mmx_cpus="$x86_mmx_cpus,pentium4,pentium4m,prescott,athlon,athlon-xp" |
7 |
x86_mmx_cpus="$x86_mmx_cpus,pentium4,pentium4m,prescott,athlon,athlon-xp" |
8 |
x86_mmx_cpus="$x86_mmx_cpus,c3,c3-2" |
8 |
x86_mmx_cpus="$x86_mmx_cpus,athlon-tbird,athlon-4,athlon-mp,c3,c3-2,k6,k6-2,k6-3" |
9 |
x86_cpus="i386,i486,i586,i686,pentium,pentiumpro,${x86_mmx_cpus}" |
9 |
x86_cpus="i386,i486,i586,i686,pentium,pentiumpro,${x86_mmx_cpus}" |
10 |
x86_cmov_cpus="i686,pentiumpro,pentium2,pentium3,pentium3m,pentium-m,pentium4," |
10 |
x86_cmov_cpus="i686,pentiumpro,pentium2,pentium3,pentium3m,pentium-m,pentium4," |
11 |
x86_cmov_cpus="pentium4m,prescott,athlon,athlon-xp,c3-2" |
11 |
x86_cmov_cpus="pentium4m,prescott,athlon,athlon-xp,athlon-tbird,athlon-4,athlon-mp,c3-2" |
|
|
12 |
x86_64_cpus="x86-64,athlon64,k8,opteron,athlon-fx,nocona" |
12 |
|
13 |
|
13 |
# default parameters |
14 |
# default parameters |
14 |
compile_type="release" |
15 |
compile_type="release" |
Lines 223-228
Link Here
|
223 |
cpu="x86" |
224 |
cpu="x86" |
224 |
fi |
225 |
fi |
225 |
|
226 |
|
|
|
227 |
is_x86_64_cpu() { |
228 |
expr ",${x86_64_cpus}," : ".*,$1," > /dev/null |
229 |
} |
230 |
|
231 |
if is_x86_64_cpu "$cpu" ; then |
232 |
cpu="x86_64" |
233 |
fi |
234 |
|
226 |
case "$cpu" in |
235 |
case "$cpu" in |
227 |
x86) |
236 |
x86) |
228 |
;; |
237 |
;; |