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

Move SVE length check to a veneer #502

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Move SVE length check to a veneer #502

merged 3 commits into from
Sep 10, 2024

Conversation

solidpixel
Copy link
Contributor

@solidpixel solidpixel commented Sep 5, 2024

The current code tries to use an SVE length check to validate that the compile-time length matches the run-time length in the current hardware. However, it appears that the behavior of svcntw() is to return the compile-time fixed size if used in fixed-size code.

This PR moves the validation check into a new veneer that is compiled with SVE, but without a fixed vector length.

@solidpixel solidpixel added this to the 4.9.0 milestone Sep 5, 2024
Source/cmake_core.cmake Outdated Show resolved Hide resolved
Source/cmake_core.cmake Outdated Show resolved Hide resolved
@solidpixel solidpixel merged commit bb7a195 into main Sep 10, 2024
7 checks passed
@solidpixel solidpixel deleted the sve-len-check branch September 10, 2024 16:33
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