mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-08 18:19:08 +08:00
libm/riscv: Use common fma code when necessary
For RISC-V targets without hardware FMA support, include the common fma implementation to provide that API. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
f9c1c0a860
commit
2d9bb96b51
@ -46,4 +46,6 @@ fma (double x, double y, double z)
|
||||
return result;
|
||||
}
|
||||
|
||||
#else
|
||||
#include "../../common/s_fma.c"
|
||||
#endif
|
||||
|
@ -46,4 +46,6 @@ fmaf (float x, float y, float z)
|
||||
return result;
|
||||
}
|
||||
|
||||
#else
|
||||
#include "../../common/sf_fma.c"
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user