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


> Hopefully, this analysis is enough for an alpha maintainer to determine
> whether Joern needs an additional check in his post-reload patch or if
> the alpha backend's LOAD_EXTEND_OP should claim to be extending in these
> modes.

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. (If it could do the latter change,
we'd need data flow analysis to find out if an extension is suposed
to take place).


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