From 02c48b21b58ab810a7e7cd09e5b674567ba364de Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 25 Sep 2015 17:29:19 +0000 Subject: 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 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. --- sysdeps/microblaze/sfp-machine.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 sysdeps/microblaze/sfp-machine.h (limited to 'sysdeps/microblaze/sfp-machine.h') diff --git a/sysdeps/microblaze/sfp-machine.h b/sysdeps/microblaze/sfp-machine.h new file mode 100644 index 0000000000..e4ad79e6bd --- /dev/null +++ b/sysdeps/microblaze/sfp-machine.h @@ -0,0 +1 @@ +#include -- cgit 1.4.1