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]
Other format: [Raw text]

Re: [PATCH] Improved trailing bit counting operation


Hi,
	friendly reminder: any update on this?

Thanks!
	Daniel.


Daniel Gutson wrote:
Hi,
  any update on this?

Thanks!
    Daniel.

Daniel Gutson wrote:
The attached patch improves the __builtin_ctz built-in function, which returns the number of trailing zero bits in a value, by using shorter instruction sequence for ARMv6T2 and later.

Please let me know any comment, or commit it for me since I don't have write access.

Thanks,
    Daniel.

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

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

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




-- Daniel Gutson CodeSourcery www.codesourcery.com


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