This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50749] SH Target: Post-increment addressing used only for first memory access
- From: "kkojima at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Oct 2011 21:36:56 +0000
- Subject: [Bug target/50749] SH Target: Post-increment addressing used only for first memory access
- Auto-submitted: auto-generated
- References: <bug-50749-4@http.gcc.gnu.org/bugzilla/>
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.