<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libm/arch, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libm/arch?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libm/arch?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-11-07T11:56:40Z</updated>
<entry>
<title>Fix ilogb(3) implementation.   The results have to match FP_ILOGB0 and</title>
<updated>2020-11-07T11:56:40Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-11-07T11:56:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=250365d1ba7d1d2d08b83147fec77890b45476a2'/>
<id>urn:sha1:250365d1ba7d1d2d08b83147fec77890b45476a2</id>
<content type='text'>
FP_ILOGBNAN which isn't the case for the amd64 and i386 assembly versions.
Drop these in favour of C implementations.  Als reimplement ilogbl(3)
by providing separate ld80 and ld128 implementations that replace the
existing implementation which may hit an infinite loop when built for
quad-precision long double.

ok patrick@, gkoehler@
</content>
</entry>
<entry>
<title>The fegetexceptflag() function should not have a DEF_STD.</title>
<updated>2020-07-09T22:13:29Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-07-09T22:13:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2a049e6c3f852e5c6ff123a1a1b89bce437d94d9'/>
<id>urn:sha1:2a049e6c3f852e5c6ff123a1a1b89bce437d94d9</id>
<content type='text'>
Brings arm64 in line with all the other architectures.

ok millert@
</content>
</entry>
<entry>
<title>Add powerpc64 fenv bits; copied from powerpc.  From drahn@</title>
<updated>2020-06-28T08:19:34Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-06-28T08:19:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c931458ee0ebe3f5cf0c8e2202a9b6caa59d413c'/>
<id>urn:sha1:c931458ee0ebe3f5cf0c8e2202a9b6caa59d413c</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
