version 1.1.1.2, 2000/09/09 14:12:14 |
version 1.1.1.3, 2000/12/01 05:44:42 |
Line 195 case "$target" in |
|
Line 195 case "$target" in |
|
gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4" |
gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4" |
;; |
;; |
sparc64-*-linux*) |
sparc64-*-linux*) |
|
# Need to think more about the options passed here. This isn't good for |
|
# some sparc64 linux distros, since we end up not optimizing when all the |
|
# options below fail. |
os_64bit=yes |
os_64bit=yes |
gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9" |
gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9" |
gmp_cflags_gcc="$gmp_cflags_gcc -m32" |
gmp_cflags_gcc="$gmp_cflags_gcc -m32" |
Line 435 case ${target} in |
|
Line 438 case ${target} in |
|
path="arm" |
path="arm" |
;; |
;; |
[sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*]) |
[sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*]) |
if test -n "$CC64"; then |
if test -n "$CC64" |
path="sparc64" |
then path="sparc64" |
else |
else path="sparc32/v9 sparc32/v8 sparc32" |
path="sparc32/v9 sparc32/v8 sparc32" |
|
fi |
fi |
;; |
;; |
sparc64-*-linux*) |
sparc64-*-linux*) |
path="sparc64" |
if test -n "$CC64" |
|
then path="sparc64" |
|
else path="sparc32/v9 sparc32/v8 sparc32" |
|
fi |
;; |
;; |
sparcv8*-*-* | microsparc*-*-*) |
sparcv8*-*-* | microsparc*-*-*) |
path="sparc32/v8 sparc32" |
path="sparc32/v8 sparc32" |
Line 873 for tmp_fn in ${gmp_mpn_functions} ; do |
|
Line 878 for tmp_fn in ${gmp_mpn_functions} ; do |
|
# that multi-function files get grepped here repeatedly |
# that multi-function files get grepped here repeatedly |
gmp_ep=["` |
gmp_ep=["` |
sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ; |
sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ; |
sed -n 's/^[ ]*PROLOGUE(\(.*\))/\1/p' $tmp_file |
sed -n 's/^[ ]*PROLOGUE.*(\(.*\))/\1/p' $tmp_file |
`"] |
`"] |
for gmp_tmp in $gmp_ep; do |
for gmp_tmp in $gmp_ep; do |
AC_DEFINE_UNQUOTED(HAVE_NATIVE_${gmp_tmp}) |
AC_DEFINE_UNQUOTED(HAVE_NATIVE_${gmp_tmp}) |