Skip to content

Use VSET to initialize static const f4's#107

Open
danfal wants to merge 1 commit into
lieff:masterfrom
danfal:VSET-win-arm64
Open

Use VSET to initialize static const f4's#107
danfal wants to merge 1 commit into
lieff:masterfrom
danfal:VSET-win-arm64

Conversation

@danfal
Copy link
Copy Markdown

@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
Copy Markdown
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.

WolfWings added a commit to WolfWings/minimp3 that referenced this pull request Jan 3, 2025
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