packed_simd
packed_simd copied to clipboard
Portable Packed SIMD Vectors for Rust standard library
They used to work (https://travis-ci.org/gnzlbg/packed_simd/builds/405449457) but now they fail; need to investigate more.
Example: `From for i64x2`: ```rust let v: i64x2 = 42_i32.into(); assert_eq!(v, i64x2::splat(42)); ``` Note: `impl From for Simd` is just `Simd::::splat(T)`.
## `s390x-unknown-linux-gnu` ``` ---- v128::i128x1_ops_vector_rotate::rotate_ops stdout ---- thread 'v128::i128x1_ops_vector_rotate::rotate_ops' panicked at 'assertion failed: `(left == right)` left: `i128x1(1208925819614629174706176)`, right: `i128x1(1)`', src/v128.rs:68:1 ---- v128::u128x1_ops_vector_rotate::rotate_ops stdout ---- thread 'v128::u128x1_ops_vector_rotate::rotate_ops' panicked at 'assertion...
This test passes on `s390x-unknown-linux-gnu` and `sparc64-unknown-linux-gnu` (it does not panic): ```rust #[test] pub fn scalar_test() { let z = 0_i128; let o = 1_i128; if o >> z !=...
* [ ] it is ~~barely~~ pretty much tested (it is only used in the `aobench` example `tiled` implementations) * [ ] the offset methods are just wrappers over the...
The `arm-linux-androideabi` and `aarch64-linux-android` targets fail to compile `packed_simd` with its tests with the following error messages. `signal: 9, SIGKILL: kill` is probably the OOM killer in action. # arm-linux-androideabi...
See: https://travis-ci.org/rust-lang-nursery/packed_simd/jobs/411233811#L1001 ``` + cargo test --verbose --target=i586-unknown-linux-gnu --manifest-path=target/mandelbrot/Cargo.toml + tee + [[ 101 != 0 ]] + cat target/output Updating registry `https://github.com/rust-lang/crates.io-index` Compiling cfg-if v0.1.4 Running `rustc --crate-name cfg_if...
We should test truncation, extensions, with different and the same vector.
Passing an index that is out-of-bounds to `shuffle!(a, b, [ids...])` produces a monomorphization-time error.
Cross-ref: https://github.com/rust-lang/rust/issues/52659