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

Add Vc_INTRINSIC to fixed_size_simd operators #309

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

bmanga
Copy link
Contributor

@bmanga bmanga commented Nov 12, 2021

At least on Windows, neither Clang nor MSVC inlined those operator calls.
Adding the macro increased the runtime up to 40% in my case.
Closes #306.

@bernhardmgruber
Copy link
Collaborator

Thank you for the PR!

@bernhardmgruber bernhardmgruber merged commit 7076d4a into VcDevel:1.4 Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSVC and Clang have a hard time inlining operator (+-* etc) calls
2 participants