syntacore / snippy

Other
40 stars 4 forks source link

march option is actually a target triple #16

Open cesarus777 opened 7 months ago

cesarus777 commented 7 months ago

Reproduced on 1.0

Snippy -march option is actually target triple. According to RISC-V toolchain convention -march=rv64gc must be ok, but in snippy to specify rv64gc I need to set -march=riscv64 and -mattr=+m,+a,+f,+d,+c,+Zifencei,+Zicsr and this is a real hell and quite annoying. I would very appreciate if you fix this.