Skip to content
Commit e012eafc authored by Tulio Magno Quites Machado Filho's avatar Tulio Magno Quites Machado Filho Committed by Mike Frysinger
Browse files

powerpc: Enforce compiler barriers on hardware transactions

Work around a GCC behavior with hardware transactional memory built-ins.
GCC doesn't treat the PowerPC transactional built-ins as compiler
barriers, moving instructions past the transaction boundaries and
altering their atomicity.

(cherry picked from commit 42bf1c89)

Conflicts:
	sysdeps/unix/sysv/linux/powerpc/elision-trylock.c

(cherry picked from commit 3803874b)
parent 258e9043
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment