about summary refs log tree commit diff
path: root/arch/x86_64/atomic.h
Commit message (Collapse)AuthorAgeFilesLines
* add explicit barrier operation to internal atomic.h APIRich Felker2014-10-101-0/+5
|
* clean up unused and inconsistent atomics in arch dirsRich Felker2014-07-271-25/+0
| | | | | | | | | | | the a_cas_l, a_swap_l, a_swap_p, and a_store_l operations were probably used a long time ago when only i386 and x86_64 were supported. as other archs were added, support for them was inconsistent, and they are obviously not in use at present. having them around potentially confuses readers working on new ports, and the type-punning hacks and inconsistent use of types in their definitions is not a style I wish to perpetuate in the source tree, so removing them seems appropriate.
* remove more unnecessary operand-size suffixes from x86_64 atomic.hRich Felker2014-01-151-3/+3
|
* remove gratuitous temp vars, casts, and suffixes in x86_64 atomic.hRich Felker2014-01-111-13/+11
| | | | | aside from general cleanup, this should allow the identical atomic.h file to be used for the upcoming x32 port.
* security hardening: ensure suid programs have valid stdin/out/errRich Felker2011-08-231-0/+5
| | | | | | | | | | | this behavior (opening fds 0-2 for a suid program) is explicitly allowed (but not required) by POSIX to protect badly-written suid programs from clobbering files they later open. this commit does add some cost in startup code, but the availability of auxv and the security flag will be useful elsewhere in the future. in particular auxv is needed for static-linked vdso support, which is still waiting to be committed (sorry nik!)
* add word-sized ctz function to atomic.hRich Felker2011-04-271-2/+8
| | | | | | strictly speaking this and a few other ops should be factored into asm.h or the file should just be renamed to asm.h, but whatever. clean it up someday.
* optimize contended normal mutex case; add int compare-and-swap atomicRich Felker2011-03-171-0/+7
|
* Optimize x86_64 atomics to take advantage of 64-bitness.Nicholas J. Kain2011-02-151-9/+8
|
* Port musl to x86-64. One giant commit!Nicholas J. Kain2011-02-151-0/+110