One is bug-fix, which contains the obsolete alias frsr/fssr bug in fesetround(). BTW, I find according to https://github.com/riscv/riscv-isa-manual/issues/419, due to glibc, all assembler will have to compatible with support this in perpetuity. But anyway, I believe we should fix this in our new code.
One is optimization to use hard float point to replace soft emulation for float point operation. Regarding this, I need some more time to evaluate and talk with RVI upstream to decide if we need to involve this in for current time.
Now,
riscv64
target correctly supportsrint
andlrint
rounding forfloat
anddouble
(long double
is currently unsupported).A detailed analysis is available at https://liushuyu.xyz/riscv-aosp-bionic-1/. If you can't view this URL, you can navigate to https://github.com/liushuyu/articles/blob/master/content/riscv-aosp-bionic-1.md instead.
A Chinese version is also provided at https://liushuyu.xyz/zh/riscv-aosp-bionic-1/.
This segment replaces the older naming convention with the newer ones specified in RISC-V ISA standard manual, version 20191213.Removed per request.