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

Use VSET to initialize static const f4's #107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danfal
Copy link

@danfal danfal commented Mar 14, 2023

This addresses a Windows ARM64 compilation failure due to array initializer list assignment to float32x4_t.

There are more instances of this pattern, but these are the only ones where f4 may be float32x4_t.

This addresses a Windows ARM64 compilation failure due to array
initializer list assignment to float32x4_t.
@danfal
Copy link
Author

danfal commented Aug 23, 2023

From https://developer.arm.com/documentation/dui0491/i/Using-NEON-Support/Vector-data-types?lang=en:

Note
The vector data types and arrays of the vector data types cannot be initialized by direct literal assignment. You must initialize them using one of the load intrinsics. See Table 44.

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