;;
i[34567]86-*-*)
cpu_type=i386
- extra_headers="mmintrin.h xmmintrin.h emmintrin.h"
+ extra_headers="mmintrin.h xmmintrin.h emmintrin.h pmmintrin.h"
;;
x86_64-*-*)
cpu_type=i386
tmake_file=mcore/t-mcore-pe
;;
mips-sgi-irix6*o32) # SGI System V.4., IRIX 6, O32 ABI
+ tm_file="${tm_file} mips/iris5.h"
if test x$gas = xyes
then
- tm_file="mips/iris5.h mips/iris5gas.h mips/iris6-o32-gas.h"
+ tm_file="${tm_file} mips/iris5gas.h mips/iris6-o32-gas.h"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h mips/dbxmdebug.h"
fi
tmake_file=mips/t-iris5-gas
else
- tm_file="mips/iris5.h mips/iris6-o32-as.h"
+ tm_file="${tm_file} mips/iris6-o32-as.h"
tmake_file=mips/t-iris5-as
fi
tm_file="${tm_file} mips/iris6-o32.h"
tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
xm_file=mips/xm-iris5.h
+ target_cpu_default="MASK_ABICALLS"
# mips-tfile doesn't work yet
# See comment in mips/iris5.h file.
use_collect2=yes
# fi
;;
mips-sgi-irix6*) # SGI System V.4., IRIX 6
+ tm_file="${tm_file} mips/iris5.h mips/iris6.h"
if test "x$gnu_ld" = xyes
then
- tm_file="mips/iris6.h mips/iris6gld.h"
- else
- tm_file=mips/iris6.h
+ tm_file="${tm_file} mips/iris6gld.h"
fi
tmake_file="mips/t-iris mips/t-iris5-6 mips/t-iris6"
+ target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT"
+ tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
# if test x$enable_threads = xyes; then
# thread_file='irix'
# fi
;;
mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
- tm_file="mips/iris6.h mips/cross64.h"
+ tm_file="${tm_file} mips/iris5.h mips/iris6.h mips/cross64.h"
xm_file=mips/xm-iris5.h
tmake_file="mips/t-iris mips/t-cross64"
+ target_cpu_default="MASK_ABICALLS|MASK_FLOAT64|MASK_64BIT"
+ tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_N32"
# See comment in mips/iris[56].h files.
use_collect2=yes
# if test x$enable_threads = xyes; then
# fi
;;
mips-sgi-irix5*) # SGI System V.4., IRIX 5
+ tm_file="${tm_file} mips/iris5.h"
if test x$gas = xyes
then
- tm_file="mips/iris5.h mips/iris5gas.h"
+ tm_file="${tm_file} mips/iris5gas.h"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h mips/dbxmdebug.h"
fi
tmake_file=mips/t-iris5-gas
else
- tm_file=mips/iris5.h
tmake_file=mips/t-iris5-as
fi
tmake_file="${tmake_file} mips/t-iris mips/t-iris5-6"
xm_file=mips/xm-iris5.h
+ target_cpu_default="MASK_ABICALLS"
# mips-tfile doesn't work yet
# See comment in mips/iris5.h file.
use_collect2=yes
esac
case $machine in
sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
+ esac
+ case $machine in
sh*-*-kaos*) tm_file="${tm_file} kaos.h sh/kaos-sh.h" ;;
esac
;;
| x401 | x403 | x405 | x405fp | x440 | x440fp | x505 \
| x601 | x602 | x603 | x603e | xec603e | x604 \
| x604e | x620 | x630 | x740 | x750 | x7400 | x7450 \
- | x8540 | x801 | x821 | x823 | x860)
+ | x8540 | x801 | x821 | x823 | x860 | x970)
+ # OK
+ ;;
+ *)
+ echo "Unknown cpu used in --with-$which=$val." 1>&2
+ exit 1
+ ;;
+ esac
+ done
+ ;;
+
+ s390*-*-*)
+ supported_defaults="arch mode tune"
+
+ for which in arch tune; do
+ eval "val=\$with_$which"
+ case x$val in
+ x \
+ | xg5 | xg6 | xz900 | xz990)
# OK
;;
*)
;;
esac
done
+
+ case "x$with_mode" in
+ x \
+ | xesa | xzarch)
+ # OK
+ ;;
+ *)
+ echo "Unknown architecture mode used in --with-mode=$with_mode." 1>&2
+ exit 1
+ ;;
+ esac
;;
sparc*-*-*)
esac
t=
- all_defaults="abi cpu arch tune schedule float"
+ all_defaults="abi cpu arch tune schedule float mode"
for option in $all_defaults
do
eval "val=\$with_$option"