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]

[PATCH] - Use of powerpc 64bit instructions in 32bit ABI - part 1



We would like to support use of powerPC's 64bit instructions for 'long long' types in Macho-O powerPC's 32bit abi mode.
All 64bit instructions are currently controlled by use of the TARGET_POWERPC64 macro. But TARGET_POWERPC64 can refer to
either TARGET_32BIT (for 32bit mode) or TARGET_64BIT (for 64 bit mode). This patch is the first submission in
implementing use of 64bit instructions in 32bit abi for powerPC. It essentially drops using TARGET_POWERPC64 and
instead uses TARGET_64BIT wherever instruction(s) can not be used in the 32bit mode. This allows us to use remaining 64bit
instructions where they make sense for 64bit arithmetic in 32bit mode.



ChangeLog entry:


2003-10-04 Fariborz Jahanian <fjahanian@apple.com>

* rs6000.md: Separate TARGET_POWERPC64 patterns for TARGET_64BIT or TARGET_32BIT



Attachment: ppc_64bitinst_32bitabi.txt
Description: Text document


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