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

Compile error on nightly: invalid monomorphization, simd_shuffle index must be a SIMD vector #571

Open
mischnic opened this issue Sep 18, 2024 · 1 comment

Comments

@mischnic
Copy link
Contributor

I get this compile error on nightly-2024-09-17:

error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: simd_shuffle index must be a SIMD vector of `u32`, got `[u32; 4]`
   --> /Users/niklas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pathfinder_simd-0.5.4/src/arm/mod.rs:163:24
    |
163 |         unsafe { F32x4(simd_shuffle4!(self.0, other.0, [0, 1, 2, 3])) }
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the macro `simd_shuffle4` (in Nightly builds, run with -Z macro-backtrace for more info)
@mischnic
Copy link
Contributor Author

This is caused by rust-lang/rust#128738 / rust-lang/rust#130268

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

1 participant