[Bug target/50749] SH Target: Post-increment addressing used only for first memory access

kkojima at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 19 21:37:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50749

--- Comment #4 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2011-10-19 21:36:56 UTC ---
(In reply to comment #3)

USE_LOAD_POST_INCREMENT and USE_STORE_PRE_DECREMENT are used only
in move_by_pieces which is for some block operations when
MOVE_BY_PIECES_P says OK.  They don't disable post_inc/pre_dec
addressing for SI/DImode in general, I think.  It seems that they
are 0 for SI/DImode because we have addressing with display for
a limited size of memory chunk in these modes, though I'm wrong
about it.  I'm a bit curious to see what happens if they are changed
to non-zero for SI/DImode.



More information about the Gcc-bugs mailing list