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

repair build failed #2

Merged
merged 3 commits into from
Jan 30, 2024
Merged

repair build failed #2

merged 3 commits into from
Jan 30, 2024

Conversation

oligamiq
Copy link
Contributor

@oligamiq oligamiq commented Jan 30, 2024

error: unrecognized platform-specific intrinsic function: simd_shuffle2
--> /home/oligami/.cargo/registry/src/index.crates.io-6f17d22bba15001f/packed_simd_2-0.3.8/src/codegen/llvm.rs:10:5
|
10 | pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle4
--> /home/oligami/.cargo/registry/src/index.crates.io-6f17d22bba15001f/packed_simd_2-0.3.8/src/codegen/llvm.rs:11:5
|
11 | pub fn simd_shuffle4<T, U>(x: T, y: T, idx: [u32; 4]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle8
--> /home/oligami/.cargo/registry/src/index.crates.io-6f17d22bba15001f/packed_simd_2-0.3.8/src/codegen/llvm.rs:12:5
|
12 | pub fn simd_shuffle8<T, U>(x: T, y: T, idx: [u32; 8]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle16
--> /home/oligami/.cargo/registry/src/index.crates.io-6f17d22bba15001f/packed_simd_2-0.3.8/src/codegen/llvm.rs:13:5
|
13 | pub fn simd_shuffle16<T, U>(x: T, y: T, idx: [u32; 16]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle32
--> /home/oligami/.cargo/registry/src/index.crates.io-6f17d22bba15001f/packed_simd_2-0.3.8/src/codegen/llvm.rs:14:5
|
14 | pub fn simd_shuffle32<T, U>(x: T, y: T, idx: [u32; 32]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unrecognized platform-specific intrinsic function: simd_shuffle64
--> /home/oligami/.cargo/registry/src/index.crates.io-6f17d22bba15001f/packed_simd_2-0.3.8/src/codegen/llvm.rs:15:5
|
15 | pub fn simd_shuffle64<T, U>(x: T, y: T, idx: [u32; 64]) -> U;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@dbartussek
Copy link
Owner

dbartussek commented Jan 30, 2024

Hi there, I never expected anyone to actually use this, I mainly did it as an exercise to see how Rusts SIMD support is.

I guess if there are people actually interested in using it (I just found out I was mentioned in a rust-random issue two years ago rust-random/rngs#33), I should look into publishing it as a proper crate and running regular tests to immediately fix it should the SIMD crate change again.

Thank you for the fix and out of curiosity, how did you find this repo and how interested would you be in an actually maintained version? Oh and also: is it fine by you if I officially add the standard Rust licenses (MIT, Apache V2.0) to it with your pull request included, just for legal safety?

@dbartussek dbartussek merged commit 0996b88 into dbartussek:master Jan 30, 2024
@oligamiq
Copy link
Contributor Author

oligamiq commented Feb 3, 2024

I am not familiar with it, but feel free to LISENCE. I searched for a random number generation library and found https://github.com/espadrine/shishua, which introduced me to this library. Since I was writing code in Rust, I was allowed to use this library.

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

Successfully merging this pull request may close these issues.

None yet

2 participants