pulp-platform / pulp-riscv-gnu-toolchain

Other
68 stars 50 forks source link

make error with --with-arch=rv32imcf #7

Open YuHungChou opened 5 years ago

YuHungChou commented 5 years ago

Hi, I'm trying to build the compiler with --with-arch=rv32imcf, but I get the error. (Platform: pulpissimo) error I use the following code: void test_floating() { float i, j; i = 0.6; j = 0.7; j = j + i; } Dump this to assembly code, I can't find floating point instruction. Do I miss some configuration about this compiler or pulp-sdk?

Thanks in advance.