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
F168480513: D8529.id22224.diff
Fri, Aug 28, 2:50 PM
F168480417: D8529.id22224.diff
Fri, Aug 28, 2:50 PM
F168460973: D8529.id22260.diff
Fri, Aug 28, 12:38 PM
F168458222: D8529.id22255.diff
Fri, Aug 28, 12:16 PM
F168422471: D8529.diff
Fri, Aug 28, 5:39 AM
Unknown Object (File)
Sun, Aug 23, 6:02 AM
Unknown Object (File)
Sun, Aug 23, 6:02 AM
Unknown Object (File)
Sat, Aug 22, 2:19 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!