Hi, I encountered a compiling error. Please see the error message below. Btw, I'm using ArchC version 2.4.1.
In file included from riscv.cpp:17:0:
riscv_isa.cpp: In member function ‘void riscv_parms::riscv_isa::behavior_FEQ_S(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)’:
riscv_isa.cpp:1018:29: error: ‘isnan’ was not declared in this scope
if ((isnan(load_float(rs1)) == 1) || (isnan(load_float(rs2)) == 1)) {
^
riscv_isa.cpp:1018:29: note: suggested alternative:
In file included from /usr/local/systemc-2.3.1/include/systemc.h:45:0,
from riscv.H:19,
from riscv.cpp:16:
/usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
isnan(_Tp __x)
Hi, I encountered a compiling error. Please see the error message below. Btw, I'm using ArchC version 2.4.1.
In file included from riscv.cpp:17:0: riscv_isa.cpp: In member function ‘void riscv_parms::riscv_isa::behavior_FEQ_S(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)’: riscv_isa.cpp:1018:29: error: ‘isnan’ was not declared in this scope if ((isnan(load_float(rs1)) == 1) || (isnan(load_float(rs2)) == 1)) { ^ riscv_isa.cpp:1018:29: note: suggested alternative: In file included from /usr/local/systemc-2.3.1/include/systemc.h:45:0, from riscv.H:19, from riscv.cpp:16: /usr/include/c++/5/cmath:641:5: note: ‘std::isnan’ isnan(_Tp __x)