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: Floating point registers vs. LOAD_EXTEND_OP on alpha


On Tue, Jan 20, 2004 at 09:30:53AM +0000, Richard Sandiford wrote:
> Or should MIPS be changed in the same way as alpha?  (Pretty ironic if so,
> since we used for forbid SImode values in FPRs, but I changed that under
> advice that this shouldn't be a problem. ;)

:-)

> On the other hand, what's the point of having CANNOT_CHANGE_MODE_CLASS
> if post-reload passes are allowed to change the mode of a register like
> this?  Unextended registers aren't the only thing that could go wrong on
> MIPS if you ignore the macro.  E.g. the HI/LO registers are always
> ordered that way round, even on little-endian systems.  I know it
> should be changed, but ISTR other ports have similar warts...

You make a good case.  Also, the fact that it's more than just
Alpha and PA makes me wonder what other port will have issues.

Joern, why don't you go ahead and work something up?


r~


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