Skip to content
Snippets Groups Projects
Commit 0d40aeb9 authored by Kito Cheng's avatar Kito Cheng
Browse files

RISC-V: Handle rouding mode correctly on zfinx

Zfinx has provide fcsr like F, so rouding mode should use fcsr instead
of `soft` fenv.

libgcc/ChangeLog:

	* config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
	(FP_HANDLE_EXCEPTIONS): Ditto.
parent e1c23189
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment