glibc/sysdeps
Paul E. Murphy 18173559a2 powerpc: Fix tabort usage in syscalls
Fix usage of tabort in generated syscalls.  r0 has special meaning
when used with this instruction, thus it will not generate
persistent errors, nor return an error code.  This mitigates poor
CPU usage when performing elided critical sections.

Additionally, transactions should be aborted when entering a user
invoked syscall.  Otherwise the results of the transaction may be
undefined.

2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>

	* sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
	register other than r0 for tabort, it has special meaning.
	* sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
	* sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
	transaction before starting syscall.
2015-08-25 13:45:56 -03:00
..
aarch64 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com> 2015-08-24 14:49:46 +01:00
alpha
arm
generic
gnu
hppa
i386
ia64
ieee754
init_array
m68k
mach
microblaze
mips
nacl
nios2
nptl
posix
powerpc powerpc: Fix tabort usage in syscalls 2015-08-25 13:45:56 -03:00
pthread
s390
sh
sparc
tile
unix powerpc: Fix tabort usage in syscalls 2015-08-25 13:45:56 -03:00
wordsize-32
wordsize-64
x86
x86_64 Replace %xmm[8-12] with %xmm[0-4] 2015-08-25 08:51:23 -07:00