Hi,
Does anybody know if this version of the gcc tool chain supports the ARMs Count leading zero opcode? If so, which compiler intrinsic is it?
For example, I would like to do something like this.
u32 Word;
u32 Bit = __CLZ( Word );
Cheers..
Support for ARM CLZ instruction
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Support for ARM CLZ instruction
You're looking for __builtin_clz which has been available since gcc 3.4.
Re: Support for ARM CLZ instruction
That's the one. Thx..
Who is online
Users browsing this forum: No registered users and 1 guest