This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61142] [SH] QImode/HImode @(R0,Rm),Rn does not load to Rn = R0
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Feb 2015 22:21:03 +0000
- Subject: [Bug target/61142] [SH] QImode/HImode @(R0,Rm),Rn does not load to Rn = R0
- Auto-submitted: auto-generated
- References: <bug-61142-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61142
--- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Created attachment 34839
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34839&action=edit
A set of peepholes
This is a set of peepholes I have accumulated, although untested.
With the patch CSiBE (-O2 -m4-single -mpretend-cmove) shows the following
summary:
sum: 3371887 -> 3367967 -3920 / -0.116255 %
avg: -217.777778 / -0.167780 %
max: replaypc-0.4.0.preproc 57212 -> 57188 -24 / -0.041949 %
min: mpeg2dec-0.3.1 54348 -> 53984 -364 / -0.669758 %