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

[BUG] Mac m1 invalid monomorphization of simd_shuffle intrinsic: simd_shuffle index must be a SIMD vector of u32, got [u32; 4] #650

Closed
Liberxue opened this issue Oct 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Liberxue
Copy link

Liberxue commented Oct 8, 2024

Describe the bug

error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: simd_shuffle index must be a SIMD vector of `u32`, got `[u32; 2]`
   --> /Users/liber/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pathfinder_simd-0.5.4/src/arm/mod.rs:348:24
    |
348 |         unsafe { F32x2(simd_shuffle2!(self.0, self.0, [2, 3])) }
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the macro `simd_shuffle2` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0511`.

To Reproduce
Some minimal reproduce code is highly recommended

Version Information

rustc --version
rustc 1.83.0-nightly (363ae4188 2024-09-24)

plotters = "0.3.7"

freetype 2.13.3 

fontconfig 2.15.0 

pathfinder BUG

@Liberxue Liberxue added the bug Something isn't working label Oct 8, 2024
@Liberxue Liberxue changed the title [BUG] invalid monomorphization of simd_shuffle intrinsic: simd_shuffle index must be a SIMD vector of u32, got [u32; 4] [BUG] Mac m1 invalid monomorphization of simd_shuffle intrinsic: simd_shuffle index must be a SIMD vector of u32, got [u32; 4] Oct 8, 2024
@Liberxue Liberxue closed this as completed Oct 8, 2024
@andrewgazelka
Copy link

how was this completed @Liberxue ?

@Liberxue
Copy link
Author

how was this completed @Liberxue ?

hey @andrewgazelka this's servo/pathfinder#571 pathfinder_geometry issue , I have solved this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants