diff options
author | hwspeedy <ns@bigbear.dk> | 2024-03-09 02:10:20 +0100 |
---|---|---|
committer | hwspeedy <ns@bigbear.dk> | 2024-03-09 02:10:20 +0100 |
commit | 9b2099e6add1070639ccbe01b55d884644e3a7d7 (patch) | |
tree | 050c19fc55979b8c9d4a20346137e448bdb0394e | |
parent | 703651e21ce78d3cf575975310c959dffcacc5c4 (diff) |
FIX Risc V Supervisor flag handling
-rw-r--r-- | modules/devices/riscv/riscv_data.c | 6 |
1 files 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; |