<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/gnu/llvm/lib/Target/PowerPC, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/gnu/llvm/lib/Target/PowerPC?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/gnu/llvm/lib/Target/PowerPC?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-04T22:33:17Z</updated>
<entry>
<title>Set max atomic size for PowerPC.</title>
<updated>2020-06-04T22:33:17Z</updated>
<author>
<name>gkoehler</name>
<email>gkoehler@openbsd.org</email>
</author>
<published>2020-06-04T22:33:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=21ddc59af3b7bf4d9a666653828d7e9ee41cba12'/>
<id>urn:sha1:21ddc59af3b7bf4d9a666653828d7e9ee41cba12</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>Switch Powerpc64 Big Endian to ELFv2 on OpenBSD, as least for now.</title>
<updated>2020-05-30T19:27:11Z</updated>
<author>
<name>drahn</name>
<email>drahn@openbsd.org</email>
</author>
<published>2020-05-30T19:27:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=98c52506dedbd7b4b3f76d15c419a7ea974c7fb5'/>
<id>urn:sha1:98c52506dedbd7b4b3f76d15c419a7ea974c7fb5</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>Fix "small pic" secure plt support.</title>
<updated>2020-04-04T09:54:04Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-04-04T09:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3159fc8f233e5ccb749cd05b58cf5b93b8f45263'/>
<id>urn:sha1:3159fc8f233e5ccb749cd05b58cf5b93b8f45263</id>
<content type='text'>
ok mortimer@
</content>
</entry>
<entry>
<title>Import LLVM 8.0.1 release including clang, lld and lldb.</title>
<updated>2019-09-01T16:27:59Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-09-01T16:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b19884b112052f3bf5ff9551374fbd840e2339f2'/>
<id>urn:sha1:b19884b112052f3bf5ff9551374fbd840e2339f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge LLVM 8.0.0 release.</title>
<updated>2019-06-23T22:05:08Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-06-23T22:05:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f27a781c9811da94fe68b2cf34237c2a61b48c96'/>
<id>urn:sha1:f27a781c9811da94fe68b2cf34237c2a61b48c96</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>Import LLVM 8.0.0 release including clang, lld and lldb.</title>
<updated>2019-06-23T21:36:31Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-06-23T21:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=23f101f37937a1bd4a29726cab2f76e0fb038b35'/>
<id>urn:sha1:23f101f37937a1bd4a29726cab2f76e0fb038b35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When generating code for OpenBSD/powerpc, avoid unaligned floating-point</title>
<updated>2019-02-18T19:42:23Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2019-02-18T19:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=82bbcfe67c2becd0a089347666d2effb60208ad4'/>
<id>urn:sha1:82bbcfe67c2becd0a089347666d2effb60208ad4</id>
<content type='text'>
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@
</content>
</entry>
<entry>
<title>Tedu files that got removed in LLVM 7.0.1.</title>
<updated>2019-01-27T17:11:29Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-01-27T17:11:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9f520fd6abbfde117cf551fb4eacdd2687a606a9'/>
<id>urn:sha1:9f520fd6abbfde117cf551fb4eacdd2687a606a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Import LLVM 7.0.1 release including clang, lld and lldb.</title>
<updated>2019-01-27T16:42:12Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-01-27T16:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b773203fb58f3ef282fb69c832d8710cab5bc82d'/>
<id>urn:sha1:b773203fb58f3ef282fb69c832d8710cab5bc82d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tedu files that got removed in LLVM 6.0.0.</title>
<updated>2018-04-06T15:04:10Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2018-04-06T15:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4cabce93708ac7b290eacd7f90928878c4df8681'/>
<id>urn:sha1:4cabce93708ac7b290eacd7f90928878c4df8681</id>
<content type='text'>
</content>
</entry>
</feed>
