summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/Target/PowerPC
AgeCommit message (Collapse)AuthorFilesLines
2020-06-04Set max atomic size for PowerPC.gkoehler1-1/+4
32-bit PowerPC doesn't have instructions for lock-free atomic ops on 8-byte values, and needs libcalls like __atomic_fetch_add_8(). In code like "_Atomic long long a; a++;", clang doesn't emit a libcall. This was causing linker errors on symbols like __sync_fetch_and_add_8. Now that LLVM knows the max atomic size, its AtomicExpandPass changes these 8-byte ops into libcalls. ok mortimer@
2020-05-30Switch Powerpc64 Big Endian to ELFv2 on OpenBSD, as least for now.drahn1-0/+2
This should simplify bringup and make it easier to support Big Endian and Little Endian with the same code. May be reconsidered if it causes too many problems with Ports. ok kettenis@
2020-04-04Fix "small pic" secure plt support.kettenis3-8/+12
ok mortimer@
2019-09-01Import LLVM 8.0.1 release including clang, lld and lldb.patrick6-10/+44
2019-06-23Merge LLVM 8.0.0 release.patrick1-237/+804
Prepared with help from jsg@ and mortimer@ Tested on amd64 by bcallah@, krw@, naddy@ Tested on arm64 by patrick@ Tested on macppc by kettenis@ Tested on octeon by visa@ Tested on sparc64 by claudio@
2019-06-23Import LLVM 8.0.0 release including clang, lld and lldb.patrick49-1332/+2129
2019-02-18When generating code for OpenBSD/powerpc, avoid unaligned floating-pointkettenis2-0/+9
load and store instructions. The vast majority of PowerPC CPUs that OpenBSD runs on don't implement those and will generate an alignment exceptions. While we do emulate lfd and stfd (to work around GCC bugs), we don't emulate lfs and stfs. It is way more efficient to have the compiler generate code that only uses aligned load and store instructions. Based on a diff from Georg Koehler. ok patrick@, visa@
2019-01-27Tedu files that got removed in LLVM 7.0.1.patrick1-198/+0
2019-01-27Import LLVM 7.0.1 release including clang, lld and lldb.patrick62-2597/+6121
2018-04-06Tedu files that got removed in LLVM 6.0.0.patrick1-442/+0
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.patrick56-1479/+7915
"where is the kaboom?" deraadt@
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.patrick51-1015/+3676
2017-03-14Import LLVM 4.0.0 release including clang and lld.patrick4-3/+30
2017-01-24Import LLVM 4.0.0 rc1 including clang and lld to help the currentpatrick52-1306/+4706
development effort on OpenBSD/arm64.
2017-01-14Merge LLVM 3.9.1patrick7-335/+0
2017-01-14Import LLVM 3.9.1 including clang and lld.patrick64-1921/+5292
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.pascal101-0/+62240
ok hackroom@