Skip to content

Commit 88bef95

Browse files
authored
Remove workaround for old LLVM issue (rust-lang#1353)
Fixes rust-lang/stdarch#794
1 parent b168a4c commit 88bef95

File tree

1 file changed

+1
-4
lines changed
  • crates/core_arch/src/x86

1 file changed

+1
-4
lines changed

crates/core_arch/src/x86/sse.rs

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

0 commit comments

Comments
 (0)