Skip to content

Commit bbb4e2c

Browse files
MaloJaffrealexcrichton
authored andcommitted
Fix a confusing typo in a cast name. (#179)
1 parent 64bb36f commit bbb4e2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ mod v32 {
174174

175175
define_casts!(
176176
(i8x4, i32x4, as_i32x4),
177-
(i16x2, i64x2, as_i64x4)
177+
(i16x2, i64x2, as_i64x2)
178178
);
179179
}
180180

src/x86/sse41.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ pub unsafe fn _mm_cvtepi16_epi32(a: i16x8) -> i32x4 {
297297
#[target_feature = "+sse4.1"]
298298
#[cfg_attr(test, assert_instr(pmovsxwq))]
299299
pub unsafe fn _mm_cvtepi16_epi64(a: i16x8) -> i64x2 {
300-
simd_shuffle2::<_, ::v32::i16x2>(a, a, [0, 1]).as_i64x4()
300+
simd_shuffle2::<_, ::v32::i16x2>(a, a, [0, 1]).as_i64x2()
301301
}
302302

303303
/// Returns the dot product of two f64x2 vectors.

0 commit comments

Comments
 (0)