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

Regressions on 16-wide vectors #296

Open
RossNordby opened this issue Oct 24, 2023 · 1 comment
Open

Regressions on 16-wide vectors #296

RossNordby opened this issue Oct 24, 2023 · 1 comment

Comments

@RossNordby
Copy link
Member

Stuff like gather transposition has a fast path for 8-wide AVX acceleration. If the platform/compiler exposes 16-wide operations, that codepath is skipped in favor of the much slower fallback.

The gathers are the most notable case, but it'd be wise to check for other cases where 16-wide vectors would force a bad scalar fallback.

@neon-sunset
Copy link

neon-sunset commented Dec 12, 2023

Vector<T> does not use AVX512 in .NET 8 by default and may not even support it with env flag that overrides its preferred length. Though it would be nice to see a path for efficient transposition on ARM64 there as well (which has good codegen for loading/storing vector pairs and big ARM cores tend to have more SIMD units than x86 CPUs (both Cortex-X4 and Apple cores have 4x128).

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

No branches or pull requests

2 participants