Skip to content

Commit 113dbb6

Browse files
committed
---
yaml --- r: 227053 b: refs/heads/master c: f6275b7 h: refs/heads/master i: 227051: ea9cec2 v: v3
1 parent 4b7d9eb commit 113dbb6

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9d78efbd601935ec11ce1b5f3dbadb9e3123fe2b
2+
refs/heads/master: f6275b760c8638985cef7c6ee0a694a1b0eff661
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/src/librustc_platform_intrinsics/x86.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,21 @@ pub fn find<'tcx>(_tcx: &ty::ctxt<'tcx>, name: &str) -> Option<Intrinsic> {
6464
"hsub_pd" => p!("sse3.hsub.pd", (f64x2, f64x2) -> f64x2),
6565
"hsub_ps" => p!("sse3.hsub.ps", (f32x4, f32x4) -> f32x4),
6666

67+
"abs_epi16" => p!("ssse3.pabs.w.128", (i16x8) -> i16x8),
68+
"abs_epi32" => p!("ssse3.pabs.d.128", (i32x4) -> i32x4),
69+
"abs_epi8" => p!("ssse3.pabs.b.128", (i8x16) -> i8x16),
70+
"hadd_epi16" => p!("ssse3.phadd.w.128", (i16x8, i16x8) -> i16x8),
71+
"hadd_epi32" => p!("ssse3.phadd.d.128", (i32x4, i32x4) -> i32x4),
72+
"hadds_epi16" => p!("ssse3.phadd.sw.128", (i16x8, i16x8) -> i16x8),
73+
"hsub_epi16" => p!("ssse3.phsub.w.128", (i16x8, i16x8) -> i16x8),
74+
"hsub_epi32" => p!("ssse3.phsub.d.128", (i32x4, i32x4) -> i32x4),
75+
"hsubs_epi16" => p!("ssse3.phsub.sw.128", (i16x8, i16x8) -> i16x8),
76+
"maddubs_epi16" => p!("ssse3.pmadd.ub.sw.128", (i8x16, i8x16) -> i16x8),
77+
"mulhrs_epi16" => p!("ssse3.pmul.hr.sw.128", (i16x8, i16x8) -> i16x8),
6778
"shuffle_epi8" => p!("ssse3.pshuf.b.128", (i8x16, i8x16) -> i8x16),
79+
"sign_epi16" => p!("ssse3.psign.w.128", (i16x8, i16x8) -> i16x8),
80+
"sign_epi32" => p!("ssse3.psign.d.128", (i32x4, i32x4) -> i32x4),
81+
"sign_epi8" => p!("ssse3.psign.b.128", (i8x16, i8x16) -> i8x16),
6882
_ => return None
6983
})
7084
}

0 commit comments

Comments
 (0)