the builtins are provided by the compiler. Whether they are implemented in
hardware or through emulation depends on how the toolchain was setup. I
believe that in the current case, this is done through the CLZ instruction,
since we build for ARMv5 binaries.

On Wed, Feb 4, 2009 at 8:20 AM, Andy Quan <[email protected]> wrote:

> As for builtin function calls like __builtin_clz() in bionic, are they
> implemented in ARMv5 hardware instructions, e.g. CLZ here? Or is it only a
> software implementation?
>
> --
> Thanks,
> Andy
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to