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


>>>>> Ulrich Weigand writes:

Ulrich> Why would you have word_mode == SImode?  I've been playing around with
Ulrich> the same issue on zSeries, and found I could get it working pretty well
Ulrich> with setting word_mode to DImode, allowing DImode in GPRs, but forcing
Ulrich> function arguments/return values to register pairs using PARALLEL.

Ulrich> (When having word_mode == SImode, everything broke because there appears
Ulrich> to be the assumption that every word_mode-sized SUBREG of a GPR must
Ulrich> be directly accessible - which is not the case at least on zSeries ...)

	Have you read the earler discussion thread?

	If word_mode is changed to DImode, there are numerous places in
the compiler that assume arguments are word_mode.  David Miller and
Richard Henderson argued against changes to make a distinction.

David


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