Page MenuHomeFreeBSD

Full softfloat and hardfloat support for RISC-V
ClosedPublic

Authored by br on Nov 15 2016, 4:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 3:08 PM
Unknown Object (File)
Dec 6 2024, 3:47 PM
Unknown Object (File)
Nov 25 2024, 2:45 AM
Unknown Object (File)
Nov 24 2024, 3:46 AM
Unknown Object (File)
Nov 23 2024, 1:29 PM
Unknown Object (File)
Nov 23 2024, 1:27 PM
Unknown Object (File)
Nov 23 2024, 12:45 PM
Unknown Object (File)
Nov 19 2024, 7:16 PM
Subscribers

Details

Summary

Tested by hand in SMP environment. Works stable. No testsuite available for RISC-V yet due to missing C plus plus

N.B. There is no floating point exception traps on RISC-V.
N.B. No flq, fsq (for quad access) instructions supported yet by GCC 6.1

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

br retitled this revision from to Full softfloat and hardfloat support for RISC-V.
br updated this object.
br edited the test plan for this revision. (Show Details)
br added a reviewer: emaste.
lib/libc/riscv/gen/_setjmp.S
65–79 ↗(On Diff #22224)

Should you commit this (and related) independently?

fix comment; use ifndef SOFTFLOAT for setjmp

andrew added inline comments.
lib/msun/riscv/fenv.h
77–78 ↗(On Diff #22224)

You could move this to the #else below.

share/mk/src.opts.mk
239 ↗(On Diff #22224)

I think this could be ... || ${__TT} == "riscv"

This revision was automatically updated to reflect the committed changes.
share/mk/src.opts.mk
239 ↗(On Diff #22224)

thanks Andrew, will know!