musl/arch/mips
Rich Felker a294f539c7 use memory constraints for mips atomic asm
despite lacking the semantic content that the asm accesses the
pointed-to object rather than just using its address as a value, the
mips asm was not actually broken. the asm blocks were declared
volatile, meaning that the compiler must treat them as having unknown
side effects.

however changing the asm to use memory constraints is desirable not
just from a semantic correctness and consistency standpoint, but also
produces better code. the compiler is able to use base/offset
addressing expressions for the atomic object's address rather than
having to load the address into a single register. this improves
access to global locks in static libc, and access to non-zero-offset
atomic fields in synchronization primitives, etc.
2014-07-19 13:51:35 -04:00
..
bits add sched_{get,set}attr syscall numbers and SCHED_DEADLINE macro 2014-05-30 13:06:51 -04:00
atomic.h use memory constraints for mips atomic asm 2014-07-19 13:51:35 -04:00
crt_arch.h new mostly-C crt1 implementation 2013-07-26 01:49:14 -04:00
ksigaction.h add some comments about the mips ksigaction structure weirdness 2013-06-29 12:24:06 -04:00
pthread_arch.h add support for TLS variant I, presently needed for arm and mips 2012-10-15 18:51:53 -04:00
reloc.h fix regression in mips dynamic linker 2014-06-30 01:18:14 -04:00
syscall_arch.h fix for broken kernel side RLIM_INFINITY on mips 2014-05-30 03:09:26 -04:00