[PATCHv2] PowerPC: Use __builtin_ppc_get_timebase when building with GCC >= 4.8

Ryan S. Arnold ryan.arnold@gmail.com
Fri Nov 2 15:21:00 GMT 2012


On Wed, Oct 31, 2012 at 11:49 AM, Tulio Magno Quites Machado Filho
<tuliom@linux.vnet.ibm.com> wrote:
> Adapts __ppc_get_timebase to the upcoming GCC 4.8 that provides
> __builtin_ppc_get_timebase.
> Building glibc with previous versions of GCC will continue to use the
> internal implementation.
>
> 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
>
>         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
>         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
>         of the internal implementation.

Thanks Tulio,

This looks good.  I'll give this a quick sniff test.

Ryan



More information about the Libc-alpha mailing list