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

Fix one bug of spike varch elen #1394

Merged
merged 4 commits into from
Dec 19, 2023

Conversation

Incarnation-p-lee
Copy link
Contributor

According to the ISA, the zve32/zve64 xdf decides the elen of the RVV. Thus we should pick up the extensions instead of the xlen for the spike varch generation.

Incarnation-p-lee and others added 3 commits December 13, 2023 15:23
The default value of subarray is the length, thus we should
take `idx` instead of `idx - 1` here.

Signed-off-by: Pan Li <[email protected]>
According to the ISA, the zve32/zve64 xdf decides the elen of the
RVV. Thus we should pick up extension instead of xlen for spike
varch generation.

Signed-off-by: Pan Li <[email protected]>
scripts/march-to-cpu-opt Outdated Show resolved Hide resolved
Copy link
Collaborator

@cmuellner cmuellner left a comment

Choose a reason for hiding this comment

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

LGTM

@cmuellner cmuellner merged commit 8c969a9 into riscv-collab:master Dec 19, 2023
20 checks passed
@cmuellner
Copy link
Collaborator

Merged.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants