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

David Edelsohn dje@watson.ibm.com
Thu Oct 16 02:25:00 GMT 2003


>>>>> 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



More information about the Gcc-patches mailing list