Closed jim-wilson closed 6 years ago
This fixes 2 glibc make check failures, and has no effect on gcc make check.
ARM has two modes, IEEE NaN mode and default NaN mode, and set_default_nan_mode enables this support for ARM. RISC-V has only IEEE NaN mode, and hence should not be using this function. When this function is called, -NaN is incorrectly converted to NaN for RISC-V.
Delete set_default_nan_mode call in riscv_cpu_reset.