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
373f628d04
commit
a0d7982ff4
|
@ -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…
Reference in New Issue