about summary refs log tree commit diff
path: root/nptl/tst-cancelx7.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-09-25 17:30:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-09-25 17:30:56 +0000
commit775e99641eca25a0dc9049253fe12b02c568f97a (patch)
tree0daf5dd6ca3a423faf9a7b6044d884dc11c572c6 /nptl/tst-cancelx7.c
parent02c48b21b58ab810a7e7cd09e5b674567ba364de (diff)
downloadglibc-775e99641eca25a0dc9049253fe12b02c568f97a.tar.gz
glibc-775e99641eca25a0dc9049253fe12b02c568f97a.tar.xz
glibc-775e99641eca25a0dc9049253fe12b02c568f97a.zip
Use soft-fp fma for no-FPU ColdFire (bug 13304).
Systems without floating-point exceptions and rounding modes should
use the soft-fp versions of fmaf and fma, not the sysdeps/ieee754
versions that rely on setting rounding to zero and testing for the
"inexact" exception; this has been noted on
<https://sourceware.org/glibc/wiki/PortStatus> for some time.  This
patch makes no-FPU ColdFire use the soft-fp files; sfp-machine.h is
made to include the nios2 version of sfp-machine.h which seems
sufficiently generic for 32-bit systems.

	[BZ #13304]
	* sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
	* sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
	* sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
Diffstat (limited to 'nptl/tst-cancelx7.c')
0 files changed, 0 insertions, 0 deletions