From 9b2099e6add1070639ccbe01b55d884644e3a7d7 Mon Sep 17 00:00:00 2001 From: hwspeedy Date: Sat, 9 Mar 2024 02:10:20 +0100 Subject: FIX Risc V Supervisor flag handling --- modules/devices/riscv/riscv_data.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/devices/riscv/riscv_data.c b/modules/devices/riscv/riscv_data.c index fc6d939a..526067d3 100644 --- a/modules/devices/riscv/riscv_data.c +++ b/modules/devices/riscv/riscv_data.c @@ -142,10 +142,10 @@ static int riscv_isa_next(const char *isap, char *flag) { } switch(*p) { - case 'S': case 's': /* supervisor extension */ - case 'X': case 'x': /* custom extension */ + // case 'S': case 's': /* supervisor extension */ + // case 'X': case 'x': /* custom extension */ /* custom supervisor extension (SX..) handled by S */ - break; + // break; default: /* single character (standard) extension */ tag_len = 1; if (next_digit != p+1) ver_len = 0; -- cgit v1.2.3