Skip to content
Unverified Commit 4e4101cf authored by Palmer Dabbelt's avatar Palmer Dabbelt
Browse files

riscv: Add support to no-FPU systems



This patchset adds an option, CONFIG_FPU, to enable/disable floating-
point support within the kernel.  The kernel's new behavior will be as
follows:

* with CONFIG_FPU=y
  All FPU codes are reserved.  If no FPU is found during booting, a
  global flag will be set, and those functions will be bypassed with
  condition check to that flag.

* with CONFIG_FPU=n
  No floating-point instructions in kernel and all related settings
  are excluded.

Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parents aef53f97 9411ec60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment