We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7c813c commit 2d04a71Copy full SHA for 2d04a71
crates/core_arch/src/x86/mod.rs
@@ -130,13 +130,13 @@ types! {
130
/// use std::arch::x86_64::*;
131
///
132
/// # fn main() {
133
- /// # #[target_feature(enable = "sse")]
+ /// # #[target_feature(enable = "sse2")]
134
/// # unsafe fn foo() { unsafe {
135
/// let two_zeros = _mm_setzero_pd();
136
/// let two_ones = _mm_set1_pd(1.0);
137
/// let two_floats = _mm_set_pd(1.0, 2.0);
138
/// # }}
139
- /// # if is_x86_feature_detected!("sse") { unsafe { foo() } }
+ /// # if is_x86_feature_detected!("sse2") { unsafe { foo() } }
140
/// # }
141
/// ```
142
pub struct __m128d(2 x f64);
0 commit comments