musl/arch/powerpc
Rich Felker 513c043694 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.
2016-01-22 02:58:32 +00:00
..
bits reindent powerpc's bits/termios.h to be consistent with other archs 2015-09-15 14:30:08 -04:00
atomic_arch.h overhaul powerpc atomics for new atomics framework 2016-01-22 02:58:32 +00:00
crt_arch.h add .text section directive to all crt_arch.h files missing it 2015-05-22 01:50:05 -04:00
pthread_arch.h properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
reloc.h new dlstart stage-2 chaining for powerpc 2015-09-17 07:20:58 +00:00
syscall_arch.h unify non-inline version of syscall code across archs 2014-11-22 21:50:13 -05:00