This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PowerPC - Add a faster way to read the Time Base register


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]