This is the mail archive of the gcc-patches@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]

Re: Shift optimizations on H8/300H



  In message <199806042249.PAA05536@cygint.cygnus.com>you write:

  > I have added optimizations for some shift amounts. The patch below
  > optimizes these cases:
[ ... ]

        * h8300.c (get_shift_alg): Add special cases for shifts of 8 and 24.

Thanks, I've added this to the egcs development tree.

I'm not sure how I missed those obvious sequences when I revamped
the shift code a couple years ago. 

jeff


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