Skip to content

Commit e603c30

Browse files
committed
minor update
1 parent 3611ad5 commit e603c30

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

ci/regression.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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"

hw/dpi/float_dpi.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,20 @@ extern "C" {
5454
}
5555

5656
inline uint64_t nan_box(uint32_t value) {
57+
#ifdef XLEN_64
5758
return value | 0xffffffff00000000;
59+
#else
60+
return value;
61+
#endif
5862
}
5963

6064
inline 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

6473
inline int64_t check_boxing(int64_t a) {

0 commit comments

Comments
 (0)