21 Commits

Author SHA1 Message Date
Aliaksei Chapyzhenka
2ce87219a6 Add Zvfbfa, Zvfofp8min, Zvfofp4min support 2025-10-16 15:27:43 +02:00
Chih-Min Chao
1b81e407db softfloat: extend bf16 APIs
also add  fxx_neg helper functions

Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2025-02-10 01:04:17 -08:00
Andrew Waterman
3d4027a2bb Merge pull request #1704 from riscv-software-src/thread-local-again
Fix C/C++ thread-local linkage differently
2024-06-21 17:23:41 -07:00
Andrew Waterman
29da1405c4 Fix C/C++ thread-local linkage differently
Just admit Mac OS is broken, so explicitly special-case it.

See #1689 and #1703
2024-06-21 16:34:25 -07:00
Andrew Waterman
fe47d091e1 Add several BF16 ops to SoftFloat 2024-06-18 17:30:03 -07:00
Andrew Waterman
4a884e684c Consistently order BF16 routines in Makefile and softfloat.h 2024-06-17 14:21:49 -07:00
Andrew Waterman
6c008e990c Make softfloat's rounding mode thread-local
This has no effect on Spike itself, but it might matter for anyone who's
using Spike as a library in a multithreaded program.
2024-06-13 17:43:07 -07:00
Weiwei Li
afe3987685 Add convertion function between binary float16 and float32 in softfloat 2023-05-29 09:01:21 +08:00
Chih-Min Chao
eceda60356 softfloat: add reciprocal api
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2020-08-31 00:44:35 -07:00
Chih-Min Chao
4ece06558c sf: add f16_to_[u]i8 APIs
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2020-05-28 21:49:31 -07:00
Han-Kuan Chen
2b38341691 sf: fp16: add missing APIs
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2020-05-04 09:50:05 -07:00
Chih-Min Chao
b96463c921 rvv: extend softfloat to support 16-64 min/max function
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2019-06-18 08:54:10 -07:00
Andrew Waterman
bd85811c35 Update SoftFloat 2017-09-24 20:25:34 -07:00
Andrew Waterman
a95b44df9d Upgrade to latest SoftFloat 2016-03-01 16:24:44 -08:00
Andrew Waterman
ab14719919 Add fclass.{s|d} instructions 2014-03-06 18:23:38 -08:00
Andrew Waterman
77452a26e7 temporary undoing of renaming 2011-06-19 20:47:29 -07:00
Andrew Waterman
740f981cfd [sim] renamed to riscv-isa-run 2011-06-12 20:27:10 -07:00
Andrew Waterman
ab928baadb [sim] made softfloat files C instead of C++ 2010-10-15 16:17:53 -07:00
Andrew Waterman
50ec828baf [sim] integrated SoftFloat-3 with ISA sim; removed SoftFloat-2b 2010-08-18 14:34:42 -07:00
Andrew Waterman
2d75bf71bb [xcc,sim] implement FP using softfloat
The intersection of the Hauser FP and MIPS FP is implemented.
2010-08-09 20:51:44 -07:00
Andrew Waterman
cf2bb15395 [sim] added softfloat 2010-08-09 16:59:14 -07:00