1 2002-05-29 Richard Henderson <rth@redhat.com>
3 * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
4 (TARGET_BI_ARCH): Likewise.
5 * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
6 (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
7 (TARGET_64BIT_DEFAULT): Default to 0.
8 (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.
10 --- gcc/config/i386/biarch64.h.jj Tue Oct 2 12:59:38 2001
11 +++ gcc/config/i386/biarch64.h Tue Jun 4 15:11:52 2002
12 @@ -21,5 +21,5 @@ along with GNU CC; see the file COPYING.
13 the Free Software Foundation, 59 Temple Place - Suite 330,
14 Boston, MA 02111-1307, USA. */
16 -#define TARGET_64BIT_DEFAULT
17 -#define TARGET_BI_ARCH
18 +#define TARGET_64BIT_DEFAULT MASK_64BIT
19 +#define TARGET_BI_ARCH 1
20 --- gcc/config/i386/i386.h.jj Thu Apr 18 19:02:03 2002
21 +++ gcc/config/i386/i386.h Tue Jun 4 15:13:40 2002
22 @@ -192,7 +192,7 @@ extern int target_flags;
24 #define TARGET_64BIT (target_flags & MASK_64BIT)
26 -#ifdef TARGET_64BIT_DEFAULT
27 +#if TARGET_64BIT_DEFAULT
28 #define TARGET_64BIT 1
30 #define TARGET_64BIT 0
31 @@ -381,14 +381,14 @@ extern int x86_prefetch_sse;
32 { "no-red-zone", MASK_NO_RED_ZONE, \
33 N_("Do not use red-zone in the x86-64 code") }, \
35 - { "", TARGET_DEFAULT, 0 }}
36 + { "", TARGET_DEFAULT | TARGET_64BIT_DEFAULT | TARGET_SUBTARGET_DEFAULT, 0 }}
38 -#ifdef TARGET_64BIT_DEFAULT
39 -#define TARGET_DEFAULT (MASK_64BIT | TARGET_SUBTARGET_DEFAULT)
41 -#define TARGET_DEFAULT TARGET_SUBTARGET_DEFAULT
42 +#ifndef TARGET_64BIT_DEFAULT
43 +#define TARGET_64BIT_DEFAULT 0
46 +#define TARGET_DEFAULT MASK_OMIT_LEAF_FRAME_POINTER
48 /* Which processor to schedule for. The cpu attribute defines a list that
49 mirrors this list, so changes to i386.md must be made at the same time. */
51 @@ -624,13 +624,13 @@ extern int ix86_arch;
55 -#ifdef TARGET_64BIT_DEFAULT
56 +#if TARGET_64BIT_DEFAULT
57 #define CPP_CPU_SPEC "%{m32:%(cpp_cpu32)}%{!m32:%(cpp_cpu64)} %(cpp_cpucommon)"
59 #define CPP_CPU_SPEC "%{m64:%(cpp_cpu64)}%{!m64:%(cpp_cpu32)} %(cpp_cpucommon)"
62 -#ifdef TARGET_64BIT_DEFAULT
63 +#if TARGET_64BIT_DEFAULT
64 #define CPP_CPU_SPEC "%(cpp_cpu64) %(cpp_cpucommon)"
66 #define CPP_CPU_SPEC "%(cpp_cpu32) %(cpp_cpucommon)"
67 @@ -695,7 +695,7 @@ extern int ix86_arch;
68 #define DOUBLE_TYPE_SIZE 64
69 #define LONG_LONG_TYPE_SIZE 64
71 -#if defined (TARGET_BI_ARCH) || defined (TARGET_64BIT_DEFAULT)
72 +#if defined (TARGET_BI_ARCH) || TARGET_64BIT_DEFAULT
73 #define MAX_BITS_PER_WORD 64
74 #define MAX_LONG_TYPE_SIZE 64