This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Shift optimizations on H8/300H
- To: juha at c3l dot tyreso dot se
- Subject: Re: Shift optimizations on H8/300H
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 10 Jun 1998 01:40:52 -0600
- Cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
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