This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] - Use of powerpc 64bit instructions in 32bit ABI
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Fariborz Jahanian <fjahanian at apple dot com>, Ian Lance Taylor <ian at wasabisystems dot com>, "David S. Miller" <davem at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 15 Oct 2003 22:24:44 -0400
- Subject: 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