]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/h8300/h8300.cc
h8300.c (shift_alg_si): Optimize ashift:HI and lshiftrt:SI by 28, 29, and 30 bits...
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 5 Dec 2002 13:19:16 +0000 (13:19 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 5 Dec 2002 13:19:16 +0000 (13:19 +0000)
commit1e5bdc40951e1ff33e3198ee95e0dab94f2c7946
treeb6f0b572f9f30062ec98eb3a4f78cb1f162aa8c6
parentd8f2e87b7727707c23476f97224c5fd7756fab0a
h8300.c (shift_alg_si): Optimize ashift:HI and lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.

* config/h8300/h8300.c (shift_alg_si): Optimize ashift:HI and
lshiftrt:SI by 28, 29, and 30 bits when !TARGET_H8300.
(get_shift_alg): Return optimal assembly instructions for the
shifts mentioned above.

From-SVN: r59859
gcc/ChangeLog
gcc/config/h8300/h8300.c