This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add OPTION_MASK_ISA_X86_64 and support TARGET_BI_ARCH == 2


On Mar 28, 2012, at 12:44 PM, Joseph S. Myers wrote:
>> config/darwin.c:	       && TARGET_64BIT
>> config/darwin.c:	   && TARGET_64BIT
>> config/darwin.c:		: (TARGET_64BIT ? 2
>> config/darwin.c:      if (TARGET_64BIT && global_options.x_flag_objc_abi < 2)
>> config/darwin.c:      if (!TARGET_64BIT && global_options.x_flag_objc_abi >= 2)
>> config/darwin.c:      && !TARGET_64BIT)
>> config/darwin.c:  if (!TARGET_64BIT)				\
>> config/darwin.c:  if (!TARGET_64BIT						  \
>> config/darwin.h:				flag_next_runtime && !TARGET_64BIT;	\

> I don't know exactly what TARGET_64BIT is intended to mean, 
> architecture-independently, for Darwin and Solaris.

For darwin, it means:

#define TARGET_64BIT    OPTION_ISA_64BIT

from i386.h for darwin on x86, and on ppc, it means the same thing that TARGET_64BIT means in rs6000.h.  The rough idea, we are going to generate code for a 64-bit target.  (-m64 for example, on x86, that would be x86_64 and on ppc that would be powerpc64).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]