已經(jīng)照這個(gè)設(shè)置配置ide:RISC-V IDE MRS使用筆記(三):提升浮點(diǎn)計(jì)算效率_riscv 浮點(diǎn)計(jì)算 不同的優(yōu)化編譯等級(jí),精確度不一樣_MounRiver_Studio的博客-CSDN博客
但是沒(méi)說(shuō)rtthread怎么配,我就在cpuport.h設(shè)置如下:
/* bytes of register width 浮點(diǎn)開(kāi)啟,還有ide設(shè)置也要開(kāi)啟 */
#define ARCH_RISCV_FPU
//#define ARCH_RISCV_FPU_D
但是還是編譯不過(guò):
G:/svn_new/zx-multifuncbrd/trunk/common/rtthread/libcpu/risc-v/common/context_gcc.S: Assembler messages:
G:/svn_new/zx-multifuncbrd/trunk/common/rtthread/libcpu/risc-v/common/context_gcc.S:47: Error: unrecognized opcode `fsd f0,0*8(sp)'
G:/svn_new/zx-multifuncbrd/trunk/common/rtthread/libcpu/risc-v/common/context_gcc.S:48: Error: unrecognized opcode `fsd f1,1*8(sp)'
G:/svn_new/zx-multifuncbrd/trunk/common/rtthread/libcpu/risc-v/common/context_gcc.S:49: Error: unrecognized opcode `fsd f2,2*8(sp)'
要怎么配呢?