newlib-cygwin/newlib/libm/machine/riscv
Keith Packard via Newlib 373f628d04 libm/riscv: Fix machine-specific sqrt build process
Like ARM, some RISC-V implementations have hardware sqrt. Support for
that can be detected at compile time, which the code did. However, the
filenames were incorrect so that both the risc-v specific and general
code were getting included in the resulting library.

Fix this by following the ARM model and #include'ing the general code
when the architecture-specific support is not available.

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-09-04 15:11:31 +02:00
..
Makefile.am libm/riscv: Fix machine-specific sqrt build process 2020-09-04 15:11:31 +02:00
Makefile.in libm/riscv: Fix machine-specific sqrt build process 2020-09-04 15:11:31 +02:00
aclocal.m4 Bump release to 3.0.0 for yearly snapshot 2018-01-18 13:07:45 -05:00
configure Bump up newlib release to 3.3.0 2020-01-21 15:17:43 -05:00
configure.in Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
e_sqrt.c libm/riscv: Fix machine-specific sqrt build process 2020-09-04 15:11:31 +02:00
ef_sqrt.c libm/riscv: Fix machine-specific sqrt build process 2020-09-04 15:11:31 +02:00
fe_dfl_env.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
feclearexcept.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
fegetenv.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
fegetexceptflag.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
fegetround.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
feholdexcept.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
feraiseexcept.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
fesetenv.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
fesetexceptflag.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
fesetround.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
fetestexcept.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
feupdateenv.c Add RISC-V port for libm 2017-08-17 12:54:56 -04:00
s_fma.c libm/machine/riscv: Add custom fma/sqrt functions when supported [v2] 2020-08-12 09:52:19 +02:00
sf_fma.c libm/machine/riscv: Add custom fma/sqrt functions when supported [v2] 2020-08-12 09:52:19 +02:00