Skip to content

same-value casting check#24

Closed
SwayamInSync wants to merge 30 commits into
mainfrom
same-value
Closed

same-value casting check#24
SwayamInSync wants to merge 30 commits into
mainfrom
same-value

Conversation

@SwayamInSync
Copy link
Copy Markdown
Owner

No description provided.

@SwayamInSync
Copy link
Copy Markdown
Owner Author

Seems union is not a great design choice to use with C++, It seems unions with SIMD type fields along with compiler optimizations may even prevents register spilling.

@SwayamInSync
Copy link
Copy Markdown
Owner Author

It is important to pass quad_value union as a const pointer because passing a 16-byte SIMD type in a union can cause a lot of ABI issues and heisenbugs

@SwayamInSync
Copy link
Copy Markdown
Owner Author

@copilot do you think this PR is now complete?

Repository owner deleted a comment from Copilot AI Dec 26, 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