arm.md (UNSPEC_RBIT): New constant.
authorDaniel Gutson <dgutson@codesourcery.com>
Fri, 4 Sep 2009 02:52:08 +0000 (02:52 +0000)
committerDaniel Gutson <dgutson@gcc.gnu.org>
Fri, 4 Sep 2009 02:52:08 +0000 (02:52 +0000)
commitca96ed43b2666f3552806f84ff1229e76fb042d2
treec42128928f5a992274cc7e584fea7e404deb3a4b
parent9af43ec7a23b80c4fa17681245303ebdb1262fb5
arm.md (UNSPEC_RBIT): New constant.

2009-09-03  Daniel Gutson  <dgutson@codesourcery.com>

* config/arm/arm.md (UNSPEC_RBIT): New constant.
(rbitsi2): New insn.
(ctzsi2): New expand.
* config/arm/arm.h (CTZ_DEFINED_VALUE_AT_ZERO): New macro.

testsuite/
* gcc.target/arm/ctz.c: New test case.

From-SVN: r151402
gcc/ChangeLog
gcc/config/arm/arm.h
gcc/config/arm/arm.md
gcc/testsuite/gcc.target/arm/ctz.c [new file with mode: 0644]