Remove workaround for old LLVM issue (#1353)

Fixes https://github.com/rust-lang/stdarch/issues/794
This commit is contained in:
Amanieu d'Antras 2022-11-16 15:57:12 +00:00 committed by GitHub
parent 45e3039ee9
commit 75127705cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1080,10 +1080,7 @@ pub unsafe fn _mm_movelh_ps(a: __m128, b: __m128) -> __m128 {
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_movemask_ps)
#[inline]
#[target_feature(enable = "sse")]
// FIXME: LLVM9 trunk has the following bug:
// https://github.com/rust-lang/stdarch/issues/794
// so we only temporarily test this on i686 and x86_64 but not on i586:
#[cfg_attr(all(test, target_feature = "sse2"), assert_instr(movmskps))]
#[cfg_attr(test, assert_instr(movmskps))]
#[stable(feature = "simd_x86", since = "1.27.0")]
pub unsafe fn _mm_movemask_ps(a: __m128) -> i32 {
movmskps(a)