We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sse4.2
1 parent 4070bc1 commit a5e94d8Copy full SHA for a5e94d8
crates/core_arch/src/x86/sse42.rs
@@ -563,7 +563,8 @@ pub fn _mm_crc32_u32(crc: u32, v: u32) -> u32 {
563
#[target_feature(enable = "sse4.2")]
564
#[cfg_attr(test, assert_instr(pcmpgtq))]
565
#[stable(feature = "simd_x86", since = "1.27.0")]
566
-pub fn _mm_cmpgt_epi64(a: __m128i, b: __m128i) -> __m128i {
+#[rustc_const_unstable(feature = "stdarch_const_intrinsics", issue = "none")]
567
+pub const fn _mm_cmpgt_epi64(a: __m128i, b: __m128i) -> __m128i {
568
unsafe { transmute(simd_gt::<_, i64x2>(a.as_i64x2(), b.as_i64x2())) }
569
}
570
0 commit comments