Skip to content

Commit f115ebf

Browse files
committed
---
yaml --- r: 233473 b: refs/heads/beta c: f6275b7 h: refs/heads/master i: 233471: 1bfa0b2 v: v3
1 parent bd9c027 commit f115ebf

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
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 9d78efbd601935ec11ce1b5f3dbadb9e3123fe2b
26+
refs/heads/beta: f6275b760c8638985cef7c6ee0a694a1b0eff661
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/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)