Skip to content
Open
Changes from 2 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
2 changes: 1 addition & 1 deletion riscv_config/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
platform_schema = os.path.join(root, 'schemas/schema_platform.yaml')
custom_schema = os.path.join(root, 'schemas/schema_custom.yaml')
Zvl_extensions = [
"Zvl32b", "Zvl64b", "Zvl128b", "Zvl256b", "Zve512b", "Zvl1024b"
"Zvl32b", "Zvl64b", "Zvl128b", "Zvl256b", "Zvl512b", "Zvl1024b", "Zvl2048b"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't look like Zvl2048b is an actual extension. From the "Zvl*: Minimum Vector Length Standard Extensions" section of the spec:

image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spike is, however, configured with Zvl*, including Zvl2048b. If it is not included here, then when using riscof, we will be unable to configure with that VLEN. Should Zvl2048b still be included in here in this case, despite not being on the Table 60?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also a quote from the spec:

Longer vector length extensions should follow the same pattern.

Thus I think it would be fine to include longer Zvl extensions, and beneficial to match spike.

]
Zvef_extensions = [
"Zve32f", "Zve64f"
Expand Down