Skip to content
Commit 3803874b authored by Tulio Magno Quites Machado Filho's avatar Tulio Magno Quites Machado Filho
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
parent b995d95a
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