History log of /openbsd/lib/libm/Makefile (Results 1 – 25 of 124)
Revision Date Author Comments
# 9372ae1a 29-Mar-2024 miod <miod@openbsd.org>

Simplify the conditionals for architectures which do not need any particular
md files lists.
ok guenther@ deraadt@


# 437d32d5 21-Jan-2022 gnezdo <gnezdo@openbsd.org>

Unplug assembly implementations of trig functions on x86 platforms

The same change was done by NetBSD some time back as:

Disable x87 implementations of sin, cos, tan.

The x87 hardware uses a bad a

Unplug assembly implementations of trig functions on x86 platforms

The same change was done by NetBSD some time back as:

Disable x87 implementations of sin, cos, tan.

The x87 hardware uses a bad approximation to pi for argument
reduction, and consequently yields bad answers for inputs near pi or
pi/2.

OK mbuhl@, tested by mbuhl@ and phessler@

show more ...


# 75e8f644 27-Apr-2021 drahn <drahn@openbsd.org>

riscv64 additions for libm
ok kettenis@


# 250365d1 07-Nov-2020 kettenis <kettenis@openbsd.org>

Fix ilogb(3) implementation. The results have to match FP_ILOGB0 and
FP_ILOGBNAN which isn't the case for the amd64 and i386 assembly versions.
Drop these in favour of C implementations. Als reimp

Fix ilogb(3) implementation. The results have to match FP_ILOGB0 and
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@

show more ...


# f1bf7a74 28-Jun-2020 kettenis <kettenis@openbsd.org>

Add powerpc64 support.


# aa5ad1f9 18-Jul-2018 naddy <naddy@openbsd.org>

Remove the unused leftovers of the 4.4BSD libm, which was only used
on non-IEEE platforms. Since the VAX port was discontinued, all
our remaining architectures use IEEE floating point, as will any
f

Remove the unused leftovers of the 4.4BSD libm, which was only used
on non-IEEE platforms. Since the VAX port was discontinued, all
our remaining architectures use IEEE floating point, as will any
future ones.
ok millert@ tb@

show more ...


# 6c640833 10-Mar-2018 kettenis <kettenis@openbsd.org>

Implement sicos(3), sincosf(3) and sincosl(3). These functions are common
extensions and modern compilers (such as clang) will use them to optimize
separate calculations of sine and cosine.

ok tom@

Implement sicos(3), sincosf(3) and sincosl(3). These functions are common
extensions and modern compilers (such as clang) will use them to optimize
separate calculations of sine and cosine.

ok tom@, patrick@, deraadt@, jmc@

show more ...


# 2a3d1c9e 28-Feb-2018 kettenis <kettenis@openbsd.org>

Remove CFLAGS+=-mfloat-abi=softfp that I accidentally committed.


# b02ee2d0 28-Feb-2018 kettenis <kettenis@openbsd.org>

Change floating-point mode/environment control functions to operate on
both the hardfloat (FPU registers) and softfloat (software) state. This
makes these functions work correctly when mixing hardfl

Change floating-point mode/environment control functions to operate on
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@

show more ...


# 3c6363cf 11-Jan-2017 patrick <patrick@openbsd.org>

Add support for AArch64. Based on FreeBSD's msun header, modified
to look and feel like our code.


# 2f2c0062 12-Sep-2016 guenther <guenther@openbsd.org>

Reduce libm's exports and make internal calls go direct.
All dependencies on libc are now via reserved/standardized names.

ok kettenis@ millert@ deraadt@


# c6383cbe 01-Sep-2016 tedu <tedu@openbsd.org>

remove references to sparc


# 0f527572 11-May-2016 deraadt <deraadt@openbsd.org>

remove hppa64 port, which we never got going beyond broken single users.
hppa reverse-stack gives us a valuable test case, but most developers don't
have a 2nd one to proceed further with this.
ok ke

remove hppa64 port, which we never got going beyond broken single users.
hppa reverse-stack gives us a valuable test case, but most developers don't
have a 2nd one to proceed further with this.
ok kettenis

show more ...


# faa33665 30-Mar-2016 jmc <jmc@openbsd.org>

for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base;

authors need only to ensure there is an entry in NAME for any funct

for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base;

authors need only to ensure there is an entry in NAME for any function/
util being added. MLINKS will still work, and remain for perl to ease
upgrades;

ok nicm (curses) bcook (ssl)
ok schwarze, who provided a lot of feedback and assistance
ok tb natano jung

show more ...


# bc43d237 10-Mar-2016 jmc <jmc@openbsd.org>

no need for SUBDIR now that vax is gone; ok deraadt


# 696cd27b 09-Mar-2016 deraadt <deraadt@openbsd.org>

We are done providing support for the vax.
lots of agreement.


# 58d52c76 18-Sep-2015 miod <miod@openbsd.org>

Move s_signgam.c to PURE_SRCS, so that it also gets built on vax.


# a32deaca 12-Sep-2014 kettenis <kettenis@openbsd.org>

Provide a sparc64 version of sqrtl(3) that simply calls _Qp_sqrt.
The generic sqrtl(3) is not nearly accurate enough for quad-precision
floating point.


# fbe7d4c0 18-Mar-2014 miod <miod@openbsd.org>

Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping
this hardware alive is becoming increasingly difficult, and I should heed the
message sent by the three disks which have di

Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping
this hardware alive is becoming increasingly difficult, and I should heed the
message sent by the three disks which have died on me over the last few days.

Noone sane will mourn these ports anyway. So long, and thanks for the fish.

show more ...


# 84157979 07-Aug-2013 espie <espie@openbsd.org>

simple inaccurate implementation of lrint* functions on vax, just so
we have them.
Compiles on vax. okay martynas@


# 19cfa30c 15-Jul-2013 espie <espie@openbsd.org>

use some generic code on vax, to do round/roundf/scalbln...
suggested by martynas@

okay miod@

(just rearranges the !vax makefile, no compile change there)


# af83b088 03-Jul-2013 espie <espie@openbsd.org>

reorganize NOIEEE_SRCS so that files not compiled on vax because
of assembly version are obvious.
Move cproj/cprojf to the PURE club, as the asm support code provides
copysignf

okay martynas@


# e1ec5d8d 03-Jul-2013 espie <espie@openbsd.org>

with DBL vs LDBL fixed, tedu some source in noieee which is actually the
same as code in generic src.
introduce PURE_SRCS for completely MI math code.
okau martynas@


# ccd3aa0b 15-Sep-2012 miod <miod@openbsd.org>

m88k does not have the m68k long double type actually (long double == double
on this platform), so don't pretend it does, and don't build long double libm
routines.


# ac9b4aac 04-Sep-2012 okan <okan@openbsd.org>

remove lint leftovers; ok guenther@


12345