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/54089] New: [SH] Refactor shift patterns


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

             Bug #: 54089
           Summary: [SH] Refactor shift patterns
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
        AssignedTo: olegendo@gcc.gnu.org
        ReportedBy: olegendo@gcc.gnu.org
            Target: sh*-*-*


The code related to shift patterns in sh.c / sh.md maybe could use some
improvements here and there.  In some places clobbers and scratch regs could be
avoided.
There is also a large part that deals with minimizing and-shift/shift-and
sequences, but there are no test cases to verify that those actually work.
It would also be interesting to see, whether some of the and-shift/shift-and
combine code could be reduced due to improvements in the middle-end.


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