optabs.c: Remove unnecessary forward declarations.
authorZack Weinberg <zack@codesourcery.com>
Mon, 3 Sep 2007 17:48:44 +0000 (17:48 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 3 Sep 2007 17:48:44 +0000 (17:48 +0000)
commit9cce5b20d63efde4f29a210bf1ed2e1bd4ba5aad
tree378d848d7c6193dbeae09ac28e3515d1b0713664
parentd46c958bfa0f730f479c317c0a0403a93ef99923
optabs.c: Remove unnecessary forward declarations.

* optabs.c: Remove unnecessary forward declarations.
(expand_unop_direct): New, broken out of expand_unop.
(expand_doubleword_clz): New.
(expand_ctz): Move above expand_ffs.  Use
start_sequence, end_sequence, add_equal_note, and
expand_unop_direct.  Add more commentary.
(expand_ffs): Try both ctz optab and expand_ctz.
Generate a test and branch if the hardware doesn't give us
a useful value for input zero.  Style improvements similar to
expand_ctz.

* config/arm/arm.md (ffssi2, ctzsi2): Delete.

From-SVN: r128054
gcc/ChangeLog
gcc/config/arm/arm.md
gcc/optabs.c