Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ matrix:
fast_finish: true
include:
- env: TARGET=i586-unknown-linux-gnu
rust: nightly-2018-10-20
- env: TARGET=i686-unknown-linux-gnu
rust: nightly-2018-10-20
- env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: nightly-2018-10-20
- env: TARGET=x86_64-unknown-linux-gnu-emulated NO_ADD=1 STDSIMD_TEST_EVERYTHING=1
rust: nightly-2018-10-20
- env: TARGET=x86_64-linux-android
- env: TARGET=arm-unknown-linux-gnueabihf
- env: TARGET=arm-linux-androideabi
Expand All @@ -26,9 +30,11 @@ matrix:
- os: osx
env: TARGET=i686-apple-darwin
script: ci/run.sh
rust: nightly-2018-10-20
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
script: ci/run.sh
rust: nightly-2018-10-20
- env: TARGET=wasm32-unknown-unknown
- env: TARGET=thumbv6m-none-eabi NOSTD=1
- env: TARGET=thumbv7m-none-eabi NOSTD=1
Expand Down
4 changes: 2 additions & 2 deletions coresimd/x86/sse2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2787,7 +2787,7 @@ pub unsafe fn _mm_castpd_ps(a: __m128d) -> __m128 {
#[target_feature(enable = "sse2")]
#[stable(feature = "simd_x86", since = "1.27.0")]
pub unsafe fn _mm_castpd_si128(a: __m128d) -> __m128i {
mem::transmute::<i64x2, _>(simd_cast(a))
mem::transmute(a)
}

/// Casts a 128-bit floating-point vector of `[4 x float]` into a 128-bit
Expand Down Expand Up @@ -2820,7 +2820,7 @@ pub unsafe fn _mm_castps_si128(a: __m128) -> __m128i {
#[target_feature(enable = "sse2")]
#[stable(feature = "simd_x86", since = "1.27.0")]
pub unsafe fn _mm_castsi128_pd(a: __m128i) -> __m128d {
simd_cast(a.as_i64x2())
mem::transmute(a)
}

/// Casts a 128-bit integer vector into a 128-bit floating-point vector
Expand Down