File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2349,10 +2349,6 @@ pub use i8x16_all_true as u8x16_all_true;
2349
2349
#[ doc( alias( "i8x16.bitmask" ) ) ]
2350
2350
#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
2351
2351
pub fn i8x16_bitmask ( a : v128 ) -> u16 {
2352
- // FIXME(https://bugs.llvm.org/show_bug.cgi?id=50507) - this produces an
2353
- // extraneous `i32.and` instruction against a mask of 65535 when converting
2354
- // from the native intrinsic's i32 return value to our desired u16. This
2355
- // shouldn't be necessary, though, but requires upstream LLVM changes.
2356
2352
unsafe { llvm_bitmask_i8x16 ( a. as_i8x16 ( ) ) as u16 }
2357
2353
}
2358
2354
@@ -3460,7 +3456,7 @@ pub use i32x4_extmul_high_u16x8 as u32x4_extmul_high_u16x8;
3460
3456
3461
3457
/// Lane-wise wrapping absolute value.
3462
3458
#[ inline]
3463
- // #[cfg_attr(test, assert_instr(i64x2.abs))] // FIXME llvm
3459
+ #[ cfg_attr( test, assert_instr( i64x2. abs) ) ]
3464
3460
#[ target_feature( enable = "simd128" ) ]
3465
3461
#[ doc( alias( "i64x2.abs" ) ) ]
3466
3462
#[ stable( feature = "wasm_simd" , since = "1.54.0" ) ]
Original file line number Diff line number Diff line change @@ -527,7 +527,8 @@ pub unsafe fn _mm256_broadcastd_epi32(a: __m128i) -> __m256i {
527
527
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_broadcastq_epi64)
528
528
#[ inline]
529
529
#[ target_feature( enable = "avx2" ) ]
530
- // FIXME: https://github.com/rust-lang/stdarch/issues/791
530
+ // Emits `vmovddup` instead of `vpbroadcastq`
531
+ // See https://github.com/rust-lang/stdarch/issues/791
531
532
#[ cfg_attr( test, assert_instr( vmovddup) ) ]
532
533
#[ stable( feature = "simd_x86" , since = "1.27.0" ) ]
533
534
pub unsafe fn _mm_broadcastq_epi64 ( a : __m128i ) -> __m128i {
You can’t perform that action at this time.
0 commit comments