Skip to content

Commit 22ceb24

Browse files
committed
---
yaml --- r: 232475 b: refs/heads/try c: 627784b h: refs/heads/master i: 232473: 10402d6 232471: 94fd877 v: v3
1 parent 741b814 commit 22ceb24

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: f6275b760c8638985cef7c6ee0a694a1b0eff661
4+
refs/heads/try: 627784b186e49648f63af0dc24cd912a7b53d56d
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/librustc_platform_intrinsics/x86.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,21 @@ pub fn find<'tcx>(_tcx: &ty::ctxt<'tcx>, name: &str) -> Option<Intrinsic> {
7979
"sign_epi16" => p!("ssse3.psign.w.128", (i16x8, i16x8) -> i16x8),
8080
"sign_epi32" => p!("ssse3.psign.d.128", (i32x4, i32x4) -> i32x4),
8181
"sign_epi8" => p!("ssse3.psign.b.128", (i8x16, i8x16) -> i8x16),
82+
83+
"max_epi32" => p!("sse41.pmaxsd", (i32x4, i32x4) -> i32x4),
84+
"max_epi8" => p!("sse41.pmaxsb", (i8x16, i8x16) -> i8x16),
85+
"max_epu16" => p!("sse41.pmaxuw", (i16x8, i16x8) -> i16x8),
86+
"max_epu32" => p!("sse41.pmaxud", (i32x4, i32x4) -> i32x4),
87+
"min_epi32" => p!("sse41.pminsd", (i32x4, i32x4) -> i32x4),
88+
"min_epi8" => p!("sse41.pminsb", (i8x16, i8x16) -> i8x16),
89+
"min_epu16" => p!("sse41.pminuw", (i16x8, i16x8) -> i16x8),
90+
"min_epu32" => p!("sse41.pminud", (i32x4, i32x4) -> i32x4),
91+
"minpos_epu16" => p!("sse41.phminposuw", (i16x8) -> i16x8),
92+
"mul_epi32" => p!("sse41.muldq", (i32x4, i32x4) -> i64x2),
93+
"packus_epi32" => p!("sse41.packusdw", (i32x4, i32x4) -> i16x8),
94+
"testc_si128" => p!("sse41.ptestc", (i64x2, i64x2) -> i32),
95+
"testnzc_si128" => p!("sse41.ptestnzc", (i64x2, i64x2) -> i32),
96+
"testz_si128" => p!("sse41.ptestz", (i64x2, i64x2) -> i32),
8297
_ => return None
8398
})
8499
}

0 commit comments

Comments
 (0)