This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Floating point registers vs. LOAD_EXTEND_OP on alpha
On Mon, Jan 19, 2004 at 08:32:52PM +0000, Joern Rennecke wrote:
> I could check
> CANNOT_CHANGE_MODE_CLASS (GET_MODE (op), word_mode,
> REGNO_REG_CLASS (REGNO (SET_DEST (set)))) ,
> but there is similar code in reload_cse_simplify_set that would also
> need to be changed, and we'd have to document that LOAD_EXTEND_OP
> does not apply to hard registers whose reg class cannot change to
> word_mode or any integral integer mode between the mode of the
> memory reference and word_mode.
Don't bother. I've just fixed the backend to not accept SImode
values in FP registers at all. As Kenner said upthread, we've
seen problems with this in the past; your change was just the
straw that broke the camel's back.
r~