mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Make atomics faster on aarch64
This change implements the compiler runtime for ARM v8.1 ISE atomics and gets rid of the mandatory -mno-outline-atomics flag. It can dramatically speed things up, on newer ARM CPUs, as indicated by the changed lines in test/libc/thread/footek_test.c. In llamafile dispatching on hwcap atomic also shaved microseconds off synchronization barriers.
This commit is contained in:
parent
de0cde8def
commit
11d9fb521d
12 changed files with 2053 additions and 71 deletions
|
@ -79,7 +79,7 @@ o/$(MODE)/tool/hello/hello-pe.ape: \
|
|||
# elf2pe can generate binaries that don't have dll imports
|
||||
o/$(MODE)/tool/hello/life-pe.dbg: \
|
||||
o/$(MODE)/tool/hello/life-pe.o
|
||||
@$(COMPILE) -ALINK.elf $(LINK) $(LINKARGS) $(OUTPUT_OPTION) -q -e WinMain #-Ttext-segment=0x140000000
|
||||
@$(COMPILE) -ALINK.elf $(LINK) $(LINKARGS) $(OUTPUT_OPTION) -q -e WinMain -Ttext-segment=0x140000000
|
||||
o/$(MODE)/tool/hello/life-pe.ape: \
|
||||
o/$(MODE)/tool/hello/life-pe.dbg \
|
||||
o/$(MODE)/tool/build/elf2pe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue