From b296539554213125eb8f61291c862eec190e4c9b Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Fri, 1 Apr 2022 22:00:39 -0700 Subject: RISC-V: Remove "g" from the extension list "g" goes along with the base ISA, but it was being treated as an extension. This allows for all sorts of odd ISA strings to be accepted by sparse, things like "rv32ig" or "rv32gg". We're still allowing some oddities, like "rv32ga", but this one was easy to catch. Signed-off-by: Palmer Dabbelt Signed-off-by: Luc Van Oostenryck --- target-riscv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/target-riscv.c b/target-riscv.c index d6dbb7d5..217ab7e8 100644 --- a/target-riscv.c +++ b/target-riscv.c @@ -38,7 +38,6 @@ static void parse_march_riscv(const char *arg) { "a", RISCV_ATOMIC }, { "f", RISCV_FLOAT|RISCV_FDIV|RISCV_ZICSR }, { "d", RISCV_DOUBLE|RISCV_FDIV|RISCV_ZICSR }, - { "g", RISCV_GENERIC }, { "c", RISCV_COMP }, { "_zicsr", RISCV_ZICSR }, { "_zifencei", RISCV_ZIFENCEI }, -- cgit 1.2.3-korg