|author||Rich Felker <email@example.com>||2016-01-22 02:58:32 +0000|
|committer||Rich Felker <firstname.lastname@example.org>||2016-01-22 02:58:32 +0000|
overhaul powerpc atomics for new atomics framework
previously powerpc had a_cas defined in terms of its native ll/sc style operations, but all other atomics were defined in terms of a_cas. instead define a_ll and a_sc so the compiler can generate optimized versions of all the atomic ops and perform better inlining of a_cas. extracting the result of the sc (stwcx.) instruction is rather awkward because it's natively stored in a condition flag, which is not representable in inline asm. but even with this limitation the new code still seems significantly better.
Diffstat (limited to 'src/linux/x32/sysinfo.c')
0 files changed, 0 insertions, 0 deletions