This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 05/15] Add hle.h base header
On Fri, Dec 28, 2012 at 01:13:28PM +0100, Andreas Jaeger wrote:
> On 12/23/2012 04:02 AM, Andi Kleen wrote:
> >From: Andi Kleen <ak@linux.intel.com>
> >
> >Add a header to use the RTM _x* intrinsics to start/stop transactions.
> >
> >Newer compilers / assembler implement those directly, but do it ourselves
> >here to be more compatible with older toolchains.
I should have made this more explicit, but this is a shared header that
is shared by lots of different projects using TSX (most are not glibc
and often not GPL)
That is why it doesn't follow the glibc coding style.
I prefer to not complete glibcize it. If people insist on it I'll
likely drop it and require new enough gcc / binutils instead.
The functions are described in the various compiler/ISA docs (although
gcc is still missing it, TBD)
-Andi