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

Reconcile RVV mask types. #520

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

sh1boot
Copy link
Contributor

@sh1boot sh1boot commented Feb 16, 2024

Make the vmask types for single-precision and double-precision interfaces compatible, so that we have fewer divergent functions.

Keep the vopmask types incompatible, because the underlying vbool*_t types still encode some underlying assumptions about the number of lanes involved.

Make the still-incompatible function names distinct between SP and DP, and then reconcile these with the preprocessor at the end of the file so that the caller still sees the expected operations. This will help when it comes to generating inline headers in a future revision.

Make the vmask types for single-precision and double-precision
interfaces compatible, so that we have fewer divergent functions.

Keep the vopmask types incompatible, because the underlying vbool*_t
types still encode some underlying assumptions about the number of lanes
involved.

Make the still-incompatible function names distinct between SP and DP,
and then reconcile these with the preprocessor at the end of the file so
that the caller still sees the expected operations.  This will help when
it comes to generating inline headers in a future revision.
@sh1boot
Copy link
Contributor Author

sh1boot commented Feb 16, 2024

This contains a portion of #503, and fits underneath that PR, so that each can be reviewed in isolation.

Copy link
Contributor

@luhenry luhenry left a comment

Choose a reason for hiding this comment

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

@luhenry
Copy link
Contributor

luhenry commented Feb 26, 2024

Hi @blapie, what could we do to get this PR (and associated ones #521 #522) to go forward?

@blapie
Copy link
Collaborator

blapie commented Feb 27, 2024

Hi @luhenry, I want to look into these this week. Happy to see that it is all coming together.

@blapie blapie merged commit 9492c39 into shibatch:master Mar 6, 2024
31 checks passed
@luhenry luhenry deleted the dev/shosie/fix-rvv-masks branch March 25, 2024 08:03
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.

3 participants