This is the mail archive of the gcc@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]

Re: Feature request: ability to describe x86 register halves as contraints.


Joern Rennecke wrote:
> 
> Why don't you just re-number the registers so that their endianness matches
> that of memory?

I'd thought of that, but the problem is the floating point regs.  This
would work nicely for the integer registers, but the i860 groups the fp
regs into pairs for DI mode regs:

	MSW  LSW
	%f1  %f0
	%f3  %f2
	...
	%f31 %f30

And the pairs must always be referred to by the lower regiters (%f0, %f2
... %f30).

Bill
-- 
Leave others their otherness


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