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: "oleg dot endo at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Oct 2011 00:00:01 +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 #3 from Oleg Endo <oleg.endo@t-online.de> 2011-10-19 00:00:01 UTC ---
Kaz,
do you happen to know why the following is defined in sh.h?
#define USE_LOAD_POST_INCREMENT(mode) ((mode == SImode || mode == DImode) \
? 0 : TARGET_SH1)
#define USE_STORE_PRE_DECREMENT(mode) ((mode == SImode || mode == DImode) \
? 0 : TARGET_SH1)
Is there any (historical) reason to disable post-inc / pre-dec addressing
for SImode / DImode?
Thanks,
Oleg