1# GCC target-specific configuration file.
2# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
3# Free Software Foundation, Inc.
4
5#This file is part of GCC.
6
7#GCC is free software; you can redistribute it and/or modify it under
8#the terms of the GNU General Public License as published by the Free
--- 255 unchanged lines hidden (view full) ---
264 ;;
265xscale-*-*)
266 cpu_type=arm
267 extra_headers="mmintrin.h"
268 ;;
269i[34567]86-*-*)
270 cpu_type=i386
271 extra_headers="mmintrin.h mm3dnow.h xmmintrin.h emmintrin.h
272 pmmintrin.h tmmintrin.h"
273 ;;
274x86_64-*-*)
275 cpu_type=i386
276 extra_headers="mmintrin.h mm3dnow.h xmmintrin.h emmintrin.h
277 pmmintrin.h tmmintrin.h"
278 need_64bit_hwint=yes
279 ;;
280ia64-*-*)
281 extra_headers=ia64intrin.h
282 need_64bit_hwint=yes
283 ;;
284hppa*-*-* | parisc*-*-*)
285 cpu_type=pa
--- 918 unchanged lines hidden (view full) ---
1204 *-*-solaris2.1[0-9]*)
1205 tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h"
1206 tm_defines="${tm_defines} TARGET_BI_ARCH=1"
1207 tmake_file="$tmake_file i386/t-sol2-10"
1208 need_64bit_hwint=yes
1209 # FIXME: -m64 for i[34567]86-*-* should be allowed just
1210 # like -m32 for x86_64-*-*.
1211 case X"${with_cpu}" in
1212 Xgeneric|Xcore2|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx)
1213 ;;
1214 X)
1215 with_cpu=generic
1216 ;;
1217 *)
1218 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
1219 echo "generic core2 nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2
1220 exit 1
1221 ;;
1222 esac
1223 # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
1224 # part of the base system.
1225 extra_parts="gmon.o crtbegin.o crtend.o"
1226 ;;
1227 *)
--- 1282 unchanged lines hidden (view full) ---
2510 ;;
2511 *)
2512 with_cpu=pentium
2513 ;;
2514 esac
2515 ;;
2516 i686-*-* | i786-*-*)
2517 case ${target_noncanonical} in
2518 k8-*|opteron-*|athlon_64-*)
2519 with_cpu=k8
2520 ;;
2521 athlon_xp-*|athlon_mp-*|athlon_4-*)
2522 with_cpu=athlon-4
2523 ;;
2524 athlon_tbird-*|athlon-*)
2525 with_cpu=athlon
--- 24 unchanged lines hidden (view full) ---
2550 ;;
2551 *)
2552 with_cpu=generic
2553 ;;
2554 esac
2555 ;;
2556 x86_64-*-*)
2557 case ${target_noncanonical} in
2558 k8-*|opteron-*|athlon_64-*)
2559 with_cpu=k8
2560 ;;
2561 nocona-*)
2562 with_cpu=nocona
2563 ;;
2564 core2-*)
2565 with_cpu=core2
--- 224 unchanged lines hidden (view full) ---
2790 case "${target}" in
2791 x86_64-*-*)
2792 echo "CPU given in --with-$which=$val doesn't support 64bit mode." 1>&2
2793 exit 1
2794 ;;
2795 esac
2796 # OK
2797 ;;
2798 "" | k8 | opteron | athlon64 | athlon-fx | nocona | core2 | generic)
2799 # OK
2800 ;;
2801 *)
2802 echo "Unknown CPU given in --with-$which=$val." 1>&2
2803 exit 1
2804 ;;
2805 esac
2806 done
--- 343 unchanged lines hidden ---
2# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
3# Free Software Foundation, Inc.
4
5#This file is part of GCC.
6
7#GCC is free software; you can redistribute it and/or modify it under
8#the terms of the GNU General Public License as published by the Free
--- 255 unchanged lines hidden (view full) ---
264 ;;
265xscale-*-*)
266 cpu_type=arm
267 extra_headers="mmintrin.h"
268 ;;
269i[34567]86-*-*)
270 cpu_type=i386
271 extra_headers="mmintrin.h mm3dnow.h xmmintrin.h emmintrin.h
272 pmmintrin.h tmmintrin.h"
273 ;;
274x86_64-*-*)
275 cpu_type=i386
276 extra_headers="mmintrin.h mm3dnow.h xmmintrin.h emmintrin.h
277 pmmintrin.h tmmintrin.h"
278 need_64bit_hwint=yes
279 ;;
280ia64-*-*)
281 extra_headers=ia64intrin.h
282 need_64bit_hwint=yes
283 ;;
284hppa*-*-* | parisc*-*-*)
285 cpu_type=pa
--- 918 unchanged lines hidden (view full) ---
1204 *-*-solaris2.1[0-9]*)
1205 tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h"
1206 tm_defines="${tm_defines} TARGET_BI_ARCH=1"
1207 tmake_file="$tmake_file i386/t-sol2-10"
1208 need_64bit_hwint=yes
1209 # FIXME: -m64 for i[34567]86-*-* should be allowed just
1210 # like -m32 for x86_64-*-*.
1211 case X"${with_cpu}" in
1212 Xgeneric|Xcore2|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx)
1213 ;;
1214 X)
1215 with_cpu=generic
1216 ;;
1217 *)
1218 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2
1219 echo "generic core2 nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2
1220 exit 1
1221 ;;
1222 esac
1223 # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
1224 # part of the base system.
1225 extra_parts="gmon.o crtbegin.o crtend.o"
1226 ;;
1227 *)
--- 1282 unchanged lines hidden (view full) ---
2510 ;;
2511 *)
2512 with_cpu=pentium
2513 ;;
2514 esac
2515 ;;
2516 i686-*-* | i786-*-*)
2517 case ${target_noncanonical} in
2518 k8-*|opteron-*|athlon_64-*)
2519 with_cpu=k8
2520 ;;
2521 athlon_xp-*|athlon_mp-*|athlon_4-*)
2522 with_cpu=athlon-4
2523 ;;
2524 athlon_tbird-*|athlon-*)
2525 with_cpu=athlon
--- 24 unchanged lines hidden (view full) ---
2550 ;;
2551 *)
2552 with_cpu=generic
2553 ;;
2554 esac
2555 ;;
2556 x86_64-*-*)
2557 case ${target_noncanonical} in
2558 k8-*|opteron-*|athlon_64-*)
2559 with_cpu=k8
2560 ;;
2561 nocona-*)
2562 with_cpu=nocona
2563 ;;
2564 core2-*)
2565 with_cpu=core2
--- 224 unchanged lines hidden (view full) ---
2790 case "${target}" in
2791 x86_64-*-*)
2792 echo "CPU given in --with-$which=$val doesn't support 64bit mode." 1>&2
2793 exit 1
2794 ;;
2795 esac
2796 # OK
2797 ;;
2798 "" | k8 | opteron | athlon64 | athlon-fx | nocona | core2 | generic)
2799 # OK
2800 ;;
2801 *)
2802 echo "Unknown CPU given in --with-$which=$val." 1>&2
2803 exit 1
2804 ;;
2805 esac
2806 done
--- 343 unchanged lines hidden ---