summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt
AgeCommit message (Collapse)AuthorFilesLines
2020-04-04Implement __atomic_is_lock_free for powerpc. Needed because thekettenis2-2/+25
architecture doesn't implement 64-bit atomic operations. This implementation is pessimistic and only flags naturally aligned operations up to and including 32-bit as lock free. tested by cwen@ ok gkoehler@
2019-09-29Update compiler-rt to 8.0.1. This is mostly a cosmetic update for us.patrick25-253/+417
Tested in snaps ok kettenis@
2019-09-28Make compiler-rt's __clear_cache() work on 32-bit ARM by makingpatrick1-2/+2
it use sysarch(). From Josh Elsasser ok kettenis@
2019-01-29Update compiler-rt to 7.0.1. This is mostly a cosmetic update sincepatrick10-25/+187
most changes are guarded behind WIN32 or GCC ifdefs. The functional change is in emutls and AMD model checking. ok kettenis@
2018-12-25Use the same additional arch specific files for sparc64 as is done for mipsclaudio1-1/+22
or aarch64. Needed to build userland with clang. OK visa@ kettenis@
2018-10-21Add quad-precision floating-point support routines for mips64.visa1-1/+22
OK kettenis@
2018-09-18Update to compiler-rt 6.0.0.patrick67-265/+433
tested by naddy@ ok kettenis@
2018-01-16On armv7, remove symbols that are also present in our libc. Because of thekettenis1-23/+24
EABI aliases these can lead to duplicate symbol errors, especially when mixing code compiled with gcc and clang. The intention is to revert this once we convert armv7 to hardfloat. ok patrick@, guenther@
2017-12-26Update to compiler-rt 5.0.1.patrick118-852/+2183
ok kettenis@
2017-09-08In compiler-rt, a few assembler implementations for i386 floating pointnaddy1-7/+17
conversion functions use SSE2 instructions, but these are not guarded by #ifdef __SSE2__, and there is no implementation using general purpose registers. For these functions, use the generic C variants instead, otherwise they will cause SIGILL on older processors. From FreeBSD; ok deraadt@ mlarkin@ patrick@
2017-08-04Enable atomic support functions.kettenis1-1/+2
ok mlarkin@
2017-05-09Enable TLS support but default to the emulatated TLS model. Enable thekettenis1-1/+2
runtime support code libcompiler_rt for this. This code uses functions that live in libpthread, so code that uses TLS support will need to be linked with -lpthread. This should allow more ports to build with base clang. ok espie@
2017-04-17Change build infrastructure to allow building both gcc and clang. Thiskettenis1-2/+7
doesn't actually flip the switch yet, so aarch64 continues to be the only architecture for which we build clang. ok jsg@, deraadt@
2017-04-09Add a few missing quad-precision support functions on arm64 and reorder thekettenis1-4/+9
list to match what's in CMakeLists.txt. ok sthen@
2017-01-20Depend compilation on the compiler version, so that we can alwayspatrick1-1/+8
enter the directory to create an objdir. ok deraadt@
2017-01-11Build a bunch more floating point helpers for AArch64.patrick1-1/+15
2017-01-04Update compiler-rt to version 3.9.1. There has only been a singlepatrick2-0/+66
change in the builtins that fixes the build on ARM with LLVM 3.8. ok kettenis@
2016-09-19Don't build saveFP/restFP for powerpc. Not needed on OpenBSD.pascal1-4/+2
ok kettenis@
2016-09-19Add non-VFP arm-specific code.kettenis1-1/+48
ok patrick@
2016-09-05Add libcompiler_rt Makefile.pascal1-0/+182
2016-09-05Import libcompiler_rt 3.9.0, LLVM's replacement for libgcc.pascal333-0/+18972
This is the lib/builtin directory of the compiler-rt source tarball. comments/ok patrick@, ok kettenis@