On 11/7/22 11:58, Palmer Dabbelt wrote:
The docs say we take ISA strings, but that's never really been the case: at a bare minimum we've required lower case strings, but there's generally been some subtle differences as well in things like version handling and such. We talked about removing the lower case requirement in the last GNU toolchain meeting and we've always called other differences just bugs. We don't have profile support yet, but based on the discussions on the RISC-V lists it looks like we're going to have some differences there as well. So let's just stop pretending these are ISA strings. That's been a headache for years now, if we're meant to just be ISA-string-like here then we don't have to worry about all these long-tail ISA string parsing issues. Link: https://lists.riscv.org/g/sig-toolchains/message/486 gcc/ChangeLog doc/invoke.texi (RISC-V): -march doesn't take ISA strings.
No strong opinions, mostly because I don't have any of the history. I'm happy to go along with the consensus here.
jeff