mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Use soft-fp fma for MicroBlaze (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 MicroBlaze 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/microblaze/s_fma.c: New file. * sysdeps/microblaze/s_fmaf.c: Likewise. * sysdeps/microblaze/sfp-machine.h: Likewise.
This commit is contained in:
parent
93bad7c97c
commit
02c48b21b5
@ -1,3 +1,10 @@
|
||||
2015-09-25 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #13304]
|
||||
* sysdeps/microblaze/s_fma.c: New file.
|
||||
* sysdeps/microblaze/s_fmaf.c: Likewise.
|
||||
* sysdeps/microblaze/sfp-machine.h: Likewise.
|
||||
|
||||
2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
[BZ #17250]
|
||||
|
1
sysdeps/microblaze/s_fma.c
Normal file
1
sysdeps/microblaze/s_fma.c
Normal file
@ -0,0 +1 @@
|
||||
#include <soft-fp/fmadf4.c>
|
1
sysdeps/microblaze/s_fmaf.c
Normal file
1
sysdeps/microblaze/s_fmaf.c
Normal file
@ -0,0 +1 @@
|
||||
#include <soft-fp/fmasf4.c>
|
1
sysdeps/microblaze/sfp-machine.h
Normal file
1
sysdeps/microblaze/sfp-machine.h
Normal file
@ -0,0 +1 @@
|
||||
#include <sysdeps/nios2/sfp-machine.h>
|
Loading…
Reference in New Issue
Block a user