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

[RISCV][CV-SIMD] Fix the immediate type in the shuffle pseudo expansion. #100

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

PaoloS02
Copy link
Contributor

The immediate operand of the 'sci' variant of the shuffle instructions of the xcvsimd extension is always zero-extended.
This commit fixes the expansion of the pseudo shuffle instruction by adding an unsigned immediate parameter (hence zero-extended) rather then a signed one as it was before.

This patch is a reboot of the previous PR #87

It is just a cleaner approach than a merge commit. The original change is good and copied untouched here.

The immediate operand of the 'sci' variant of the shuffle instructions
of the xcvsimd extension is always zero-extended.
This commit fixes the expansion of the pseudo shuffle instruction
by adding an unsigned immediate parameter (hence zero-extended)
rather then a signed one as it was before.
@PaoloS02
Copy link
Contributor Author

Ready to merge and close the previous one if the tests look good

@PaoloS02 PaoloS02 merged commit 076d863 into openhwgroup:development Dec 22, 2023
3 of 4 checks passed
@PaoloS02
Copy link
Contributor Author

Tests look good

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.

1 participant