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] - Use of powerpc 64bit instructions in 32bit ABI


>>>>> Richard Henderson writes:

>> Apple patch keeps 64bit values in GPRs. If this can be accomplished without
>> changes to common part please let us know how sparc port accomplishes this.

Richard> By letting HARD_REGNO_MODE_OK return true for DImode.

	Okay, we're going to play 20 Questions.  Why didn't you say so! :-)

	If I understand correctly, you are recommending keeping
BITS_PER_WORD as 32 but allowing HARD_REGNO_OK to return true for 64-bit
modes in GPRs for the option that enables 64-bit instructions.
HARD_REGNO_OK only affects register allocation and not argument passing
because function_arg directly generates and advances hard registers?

David


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