Skip to content

Commit

Permalink
isa_validator: nullify Svnapot in march strings
Browse files Browse the repository at this point in the history
the get_march_mabi function should return a string that
can be consumed by the riscv-gcc right away. the compiler
complains about the presence of svnapot in the said string.
"nullify" this extension, resulting in exclusion during march generation.

Signed-off-by: Karthik B K <karthik.bk@incoresemi.com>
  • Loading branch information
iamkarthikbk committed May 28, 2024
1 parent c4e2ada commit 19afc29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions riscv_config/isa_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ def get_march_mabi (isa : str, opt_remove_custom_exts: bool = False):
'Zbf',
'Zbm',
'Zbr',

# supervisor address translations
'Svnapot',
]

# add Zbp and Zbt to null_ext if Zbpbo is present
Expand Down

0 comments on commit 19afc29

Please sign in to comment.