File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -114,11 +114,6 @@ regression()
114114 make -C tests/regression run-simx
115115 make -C tests/regression run-rtlsim
116116
117- # test FPU hardware implementations
118- CONFIGS=" -DFPU_DPI" ./ci/blackbox.sh --driver=rtlsim --app=dogfood
119- CONFIGS=" -DFPU_DSP" ./ci/blackbox.sh --driver=rtlsim --app=dogfood
120- CONFIGS=" -DFPU_FPNEW" ./ci/blackbox.sh --driver=rtlsim --app=dogfood
121-
122117 # test local barrier
123118 ./ci/blackbox.sh --driver=simx --app=dogfood --args=" -n1 -tbar"
124119 ./ci/blackbox.sh --driver=rtlsim --app=dogfood --args=" -n1 -tbar"
Original file line number Diff line number Diff line change @@ -54,11 +54,20 @@ extern "C" {
5454}
5555
5656inline uint64_t nan_box (uint32_t value) {
57+ #ifdef XLEN_64
5758 return value | 0xffffffff00000000 ;
59+ #else
60+ return value;
61+ #endif
5862}
5963
6064inline bool is_nan_boxed (uint64_t value) {
65+ #ifdef XLEN_64
6166 return (uint32_t (value >> 32 ) == 0xffffffff );
67+ #else
68+ __unused (value);
69+ return true ;
70+ #endif
6271}
6372
6473inline int64_t check_boxing (int64_t a) {
You can’t perform that action at this time.
0 commit comments