This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv2] PowerPC: Use __builtin_ppc_get_timebase when buildingwith GCC >= 4.8
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org, schwab at linux-m68k dot org
- Date: Fri, 2 Nov 2012 10:20:55 -0500
- Subject: Re: [PATCHv2] PowerPC: Use __builtin_ppc_get_timebase when buildingwith GCC >= 4.8
- References: <m28vanpxhu.fsf@igel.home><1351702183-8677-1-git-send-email-tuliom@linux.vnet.ibm.com>
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