mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Fix i586 tests
This commit is contained in:
@@ -5,5 +5,9 @@ set -ex
|
||||
# FIXME(rust-lang/rust#45201) shouldn't need to specify one codegen unit
|
||||
export RUSTFLAGS="$RUSTFLAGS -C codegen-units=1"
|
||||
|
||||
# Tests are all super fast anyway, and they fault often enough on travis that
|
||||
# having only one thread increases debuggability to be worth it.
|
||||
export RUST_TEST_THREADS=1
|
||||
|
||||
cargo test --target $TARGET
|
||||
cargo test --release --target $TARGET
|
||||
|
||||
@@ -885,10 +885,10 @@ pub unsafe fn _MM_TRANSPOSE4_PS(row0: &mut f32x4, row1: &mut f32x4, row2: &mut f
|
||||
let tmp1 = _mm_unpackhi_ps(*row0, *row1);
|
||||
let tmp3 = _mm_unpackhi_ps(*row2, *row3);
|
||||
|
||||
mem::replace(row0, _mm_movelh_ps(tmp0, tmp2));
|
||||
mem::replace(row1,_mm_movehl_ps(tmp2, tmp0));
|
||||
mem::replace(row2, _mm_movelh_ps(tmp1, tmp3));
|
||||
mem::replace(row3, _mm_movehl_ps(tmp3, tmp1));
|
||||
*row0 = _mm_movelh_ps(tmp0, tmp2);
|
||||
*row1 = _mm_movehl_ps(tmp2, tmp0);
|
||||
*row2 = _mm_movelh_ps(tmp1, tmp3);
|
||||
*row3 = _mm_movehl_ps(tmp3, tmp1);
|
||||
}
|
||||
|
||||
#[allow(improper_ctypes)]
|
||||
|
||||
Reference in New Issue
Block a user