This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] PowerPC - Add a faster way to read the Time Base register
- 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, roland at hack dot frob dot com
- Date: Mon, 4 Jun 2012 14:03:48 -0500
- Subject: Re: [PATCH] PowerPC - Add a faster way to read the Time Base register
- References: <20120525231111.108362C078@topped-with-meat.com><1338386992-5960-1-git-send-email-tuliom@linux.vnet.ibm.com>
On Wed, May 30, 2012 at 9:09 AM, Tulio Magno Quites Machado Filho
<tuliom@linux.vnet.ibm.com> wrote:
> Add function __ppc_get_timebase() to directly read the Time Base register.
> This is required for applications that measure time at high frequencies
> with high precision that can't afford a syscall.
>
> 2012-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
>
> Â Â Â Â[BZ #13743]
> Â Â Â Â* sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
> Â Â Â Â* sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
> Â Â Â Â(sysdep_headers): Include sys/platform/ppc.h.
> Â Â Â Â* sysdeps/powerpc/test-gettimebase.c: Test for
> Â Â Â Â__ppc_get_timebase() to catch future ISA opcode/insn changes.
> Â Â Â Â* manual/Makefile (appendices): Include platform.texi.
> Â Â Â Â* manual/contrib.texi (Contributors): Update @node pointers.
> Â Â Â Â* manual/maint.texi (Maintenance): Likewise.
> Â Â Â Â(Platform): New node.
> Â Â Â Â* manual/platform.texi: New file. ÂDocument the new features.
Per Roland's previous approval and Carlos O'Donnel's blessing this has
been pushed upstream for the GLIBC 2.16 release with git commit
d9dc34cd569bcfe714fe8c708e58c028106e8b2e