<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libm/arch, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libm/arch?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libm/arch?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-03-12T22:14:50Z</updated>
<entry>
<title>Setting and getting the rounding mode on our arm64 FPU has not worked</title>
<updated>2019-03-12T22:14:50Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-03-12T22:14:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=53b00876ee12a0c62c3f155b1de308a45679f18e'/>
<id>urn:sha1:53b00876ee12a0c62c3f155b1de308a45679f18e</id>
<content type='text'>
in libm since the rounding mode is in fpcr, not fpsr.  Since both FPU
registers are 32-bit we can store them in the 64-bit fenv_t to make
handling the bits easier.

While there add FE_DENORMAL, which also exists on x86.  Also make sure
that whenever we are being passed an exception mask, we only allow the
bits that are supported by hardware.

Found by regression tests
Debugged with Moritz Buhl
ok kettenis@
</content>
</entry>
<entry>
<title>Add missing retguard check</title>
<updated>2018-07-08T12:49:16Z</updated>
<author>
<name>mortimer</name>
<email>mortimer@openbsd.org</email>
</author>
<published>2018-07-08T12:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f02487654d2a17e384c1733cbed4444bb30bba52'/>
<id>urn:sha1:f02487654d2a17e384c1733cbed4444bb30bba52</id>
<content type='text'>
ok deraadt
</content>
</entry>
<entry>
<title>Add retguard macros to libm assembly.</title>
<updated>2018-07-03T22:43:34Z</updated>
<author>
<name>mortimer</name>
<email>mortimer@openbsd.org</email>
</author>
<published>2018-07-03T22:43:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3ba7702be0c7af3f580acc0a15f2fb78868ef980'/>
<id>urn:sha1:3ba7702be0c7af3f580acc0a15f2fb78868ef980</id>
<content type='text'>
ok deraadt
</content>
</entry>
<entry>
<title>Since most (if not all) ARMv8 hardware doesn't actually support trapping of</title>
<updated>2018-03-16T10:22:52Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-03-16T10:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1ff8d394f3ae9f209c103a45737dbc8f39da325b'/>
<id>urn:sha1:1ff8d394f3ae9f209c103a45737dbc8f39da325b</id>
<content type='text'>
floating-point exceptions, simplify the functions that control the exception
masks just like we did on armv7.

ok tom@
</content>
</entry>
<entry>
<title>Make the binding of rintl, significand, and significandf consistently</title>
<updated>2018-03-12T04:27:48Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-03-12T04:27:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d17b7c42c56308448a37b04fda5041f9c413e4fb'/>
<id>urn:sha1:d17b7c42c56308448a37b04fda5041f9c413e4fb</id>
<content type='text'>
'weak' in the static libm.a

ok deraadt@
</content>
</entry>
<entry>
<title>Change floating-point mode/environment control functions to operate on</title>
<updated>2018-02-28T11:16:54Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2018-02-28T11:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b02ee2d0b169340f8c05ac869f38b89250c96865'/>
<id>urn:sha1:b02ee2d0b169340f8c05ac869f38b89250c96865</id>
<content type='text'>
both the hardfloat (FPU registers) and softfloat (software) state.  This
makes these functions work correctly when mixing hardfloat and softfloat
code.  Disable trapping for softfloat since most (if not all) ARMv7 and
ARMv8 hardware that is on the market doesn't support trapping of
floating-point exceptions.

ok patrick@
</content>
</entry>
<entry>
<title>Constants which can go into .rodata</title>
<updated>2018-02-05T04:01:49Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2018-02-05T04:01:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f6b709d44327051d2daaa7bf3b25ca2bc658a081'/>
<id>urn:sha1:f6b709d44327051d2daaa7bf3b25ca2bc658a081</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use 0xcc trapsleds instead of default/nop/0xcc in BTC alignments</title>
<updated>2017-08-19T18:27:19Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2017-08-19T18:27:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=692d8164fc61f2d957f938d876aa5fb3a4eb71c6'/>
<id>urn:sha1:692d8164fc61f2d957f938d876aa5fb3a4eb71c6</id>
<content type='text'>
don't bother with .text before ENTRY()
</content>
</entry>
<entry>
<title>Add support for AArch64.  Based on FreeBSD's msun header, modified</title>
<updated>2017-01-11T13:38:13Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2017-01-11T13:38:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3c6363cf8bb94e6527044bc52d6c77cd85f71439'/>
<id>urn:sha1:3c6363cf8bb94e6527044bc52d6c77cd85f71439</id>
<content type='text'>
to look and feel like our code.
</content>
</entry>
<entry>
<title>copysign and copysignf are used within libm, so declare them accordingly.</title>
<updated>2016-12-22T16:11:26Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2016-12-22T16:11:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6d9c1604e2b9950ba6aad939ef3b473074496c63'/>
<id>urn:sha1:6d9c1604e2b9950ba6aad939ef3b473074496c63</id>
<content type='text'>
Required if the compiler doesn't replace them with builtins (e.g. clang
on amd64).
ok kettenis@ guenther@
i386 sync requested by guenther@
</content>
</entry>
</feed>
