This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] BZ#13743: PowerPC - Add a new header for platformspecific functions
On Thu, 2012-03-08 at 06:34 -0500, Ulrich Drepper wrote:
> On Wed, Mar 7, 2012 at 09:16, Steven Munroe <munroesj@linux.vnet.ibm.com> wrote:
> > Now if you think only PowerPC has these issue, consider all the random
> > attempts to use the rdtsc instruction you might have seen, and how
> > useful it would be to have one well defined and correct version every
> > one could use.
>
> If this is a fair comparison then it is also clear that this
> discussion is completely misplaced here. Something as trivial as
> rdtsc should be handled in the same way as said instruction is: in a
> header in gcc. This way you also reach programmers who are not using
> glibc but instead gcc on other platforms.
>
GCC does support language extensions like the Altivec builtins, but I
can see how they might think timebase and program priority are not
language issues.
> Since this was brought up on the glibc list I have to assume there is
> more to it. And that means your argumentation is deliberately
> misleading.
>
You should not assume other peoples motivations. I was only trying to
make a point that this was a mutli-platform issue.