Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Load/Store Pair for RV32 extensions (Zilsd & Zcmlsd) #177

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions riscv_config/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
] + Zvef_extensions + Zved_extensions

Z_extensions = [
"Zicbom", "Zicbop", "Zicboz", "Zicntr", "Zicsr", "Zicond", "Zicfilp", "Zicfiss", "Zifencei", "Zihintpause", "Zihpm", "Zimop",
"Zicbom", "Zicbop", "Zicboz", "Zicntr", "Zicsr", "Zicond", "Zicfilp", "Zicfiss", "Zifencei", "Zihintpause", "Zihpm", "Zilsd", "Zimop",
"Zmmul",
"Zam", "Zabha", "Zacas",
"Zca", "Zcb", "Zcf", "Zcd" , "Zcmp", "Zcmt", "Zcmop",
"Zca", "Zcb", "Zcf", "Zcd" , "Zcmp", "Zcmt", "Zcmop", "Zcmlsd",
"Zfh", "Zfa",
"Zfinx", "Zdinx", "Zhinx", "Zhinxmin",
"Ztso",
Expand Down
6 changes: 6 additions & 0 deletions riscv_config/isa_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ def get_extension_list(isa):
if 'S' in extension_list and not 'U' in extension_list:
err_list.append( "S cannot exist without U.")
err = True
if 'Zcmlsd' in extension_list and 'Zcf' in extension_list:
err_list.append( "Zcmlsd encodings are mutually exclusive with Zcf.")
err = True
if 'Zcmlsd' in extension_list and 'Zilsd' not in extension_list:
err_list.append( "Zcmlsd cannot exist without Zilsd.")
err = True
if 'Zkn' in extension_list and ( set(['Zbkb', 'Zbkc', 'Zbkx', 'Zkne', 'Zknd', 'Zknh']) & set(extension_list)):
err_list.append( "Zkn is a superset of Zbkb, Zbkc, Zbkx, Zkne, Zknd, Zknh. In presence of Zkn the subsets must be ignored in the ISA string.")
err = True
Expand Down
Loading