[PATCH 1/3] PowerPC: Add the low level infrastructure for pthreads
Will Schmidt
will_schmidt@vnet.ibm.com
Wed Dec 10 20:21:00 GMT 2014
On Mon, 2014-11-10 at 19:20 -0200, Adhemerval Zanella wrote:
> diff --git a/sysdeps/unix/sysv/linux/powerpc/htm.h b/sysdeps/unix/sysv/linux/powerpc/htm.h
> new file mode 100644
> index 0000000..b0a5ab0
> --- /dev/null
> +++ b/sysdeps/unix/sysv/linux/powerpc/htm.h
> @@ -0,0 +1,142 @@
> +/* Shared HTM header. Emulate transactional execution facility intrinsics for
> + compilers and assemblers that do not support the intrinsics and instructions
> + yet.
<snip>
> +
> +/* Definitions used for TEXASR Failure code (bits 0:6), they need to be even
> + because tabort. always sets the first bit. */
I came back here after looking through [3/3]. Can you clarify 'they
need to be even', with respect to the values used below?
> +#define _ABORT_LOCK_BUSY 0x3f /* Lock already used. */
> +#define _ABORT_NESTED_TRYLOCK 0x3e /* Write operation in trylock. */
> +#define _ABORT_SYSCALL 0x3d /* Syscall issued. */
> +
> +#endif
Thanks,
-Will
More information about the Libc-alpha
mailing list