packed_simd icon indicating copy to clipboard operation
packed_simd copied to clipboard

Unrecognized platform-specific intrinsic function: `simd_shuffle64`

Open tustvold opened this issue 2 years ago • 5 comments

The packed_simd_2 crate fails to compile on the latest nightly with errors about simd_shuffle64

error: unrecognized platform-specific intrinsic function: `simd_shuffle64`
  --> /home/raphael/.cargo/registry/src/index.crates.io-6f17d22bba15001f/packed_simd_2-0.3.8/src/codegen/llvm.rs:15:5

tustvold avatar Aug 05 '23 12:08 tustvold

However this seems to be fixed in <8b5a04f38f42e62babd37dad0c807d44453a0549>, maybe this version is not released yet?

KonradHoeffner avatar Aug 07 '23 13:08 KonradHoeffner

Ah OK I got it now, you need to replace packed_simd2 version 0.3.8 with packed_simd (without the "2") version 0.3.9. This fixes the error.

KonradHoeffner avatar Aug 07 '23 13:08 KonradHoeffner

Should a packed_simd_2 0.3.9 be published with a dependency and re-export of packed_simd 0.3.9?

glandium avatar Aug 16 '23 02:08 glandium

I think this could be very helpful to prevent breaks for all users of new nightly Rust versions who depend on packed_simd2.

KonradHoeffner avatar Aug 17 '23 08:08 KonradHoeffner