mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
[v1.04][RISCV] Make single-letter extension detection more robust. s and u are invalid but might appear (#200), so just skip them
This commit is contained in:
@@ -54,7 +54,6 @@ static const struct extension extension_list[] = {
|
||||
{ 'v' - 'a', "(V) Vector Operations" },
|
||||
{ 'n' - 'a', "(N) User-Level Interrupts" },
|
||||
{ 'h' - 'a', "(H) Hypervisor" },
|
||||
{ 's' - 'a', "(S) Supervisor-level Instructions" },
|
||||
// multi-letter extensions
|
||||
{ RISCV_ISA_EXT_SSCOFPMF, "(Sscofpmf) Count OverFlow and Privilege Mode Filtering" },
|
||||
{ RISCV_ISA_EXT_SSTC, "(Sstc) S and VS level Time Compare" },
|
||||
|
||||
Reference in New Issue
Block a user