Closed omerguzelelectronicguy closed 5 months ago
I ran into this same problem. I didn't have time to investigate so I just stayed on the old compiler, though I'd prefer to be able to use the latest.
I tried to supress them however when I supress them and compile, it ran differently than the compiled one with gcc12. The one with gcc14 is stucked when I ran in spike.
@pdonahue-ventana I found the problem. The newer compiler is better to vectorize the code as far as I understand. In both cases the march option was gcv
but the older one doesn't produce a vector and I didn't realize the vector extension was in the march option. I also now see that I didn't supply enough information while asking this question. I am sorry for that.
I switched my compiler from
riscv64-unknown-elf-gcc
version from 12 to 14. However, it causes this errordhrystone.c:20:1: error: return type defaults to 'int' [-Wimplicit-int]
, when I entermake benchmark
in the main folder. I am at this commit in riscv-tests repo. Detailed log is below: