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)
Mon, Apr 8, 9:09 AM
Unknown Object (File)
Mar 8 2024, 7:28 AM
Unknown Object (File)
Mar 8 2024, 7:28 AM
Unknown Object (File)
Mar 8 2024, 7:24 AM
Unknown Object (File)
Mar 8 2024, 7:24 AM
Unknown Object (File)
Mar 8 2024, 7:12 AM
Unknown Object (File)
Jan 13 2024, 11:33 AM
Unknown Object (File)
Jan 9 2024, 1:18 AM
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!