This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/51244] SH Target: Inefficient conditional branch


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

--- Comment #37 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-05-07 20:50:31 UTC ---
Created attachment 27336
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27336
Supplementary patch

As of rev 187217, the pr51244-1.c target testcase fails at least for m4*.
The attached patch adds some 'branch_true' and 'branch_false' subreg variants
which combine tries to use.  This seems to fix the problem.
I still would like to know whether there is a better way of handling the little
/ big endian subreg offsets in the patterns without doing copy-pasta.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]