------- Comment #3 from danglin at gcc dot gnu dot org 2006-02-13 19:08 ------- Regarding comment #2, while it's possible that removing the SECONDARY_MEMORY_NEEDED_RTX define has had an effect, we have never had support in pa.md to load an HImode value into a floating-point register. The other changes in the patches mentioned don't affect HImode.
It seems as reload isn't respecting HARD_REGNO_MODE_OK (see VALID_FP_MODE_P in pa32-regs.h). The reason for excluding HImode (and QImode) values from the FP registers is you can't do anything with them, and copying to/from the general registers has to be done thorugh memory. Thus, it's better to use the stack. -- danglin at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danglin at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26255