We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bf9c83 commit 513e067Copy full SHA for 513e067
coresimd/simd_llvm.rs
@@ -49,6 +49,7 @@ extern "platform-intrinsic" {
49
pub fn simd_reduce_any<T>(x: T) -> bool;
50
51
pub fn simd_select<M, T>(m: M, a: T, b: T) -> T;
52
+ #[cfg(not(stage0))]
53
pub fn simd_select_bitmask<M, T>(m: M, a: T, b: T) -> T;
54
55
pub fn simd_fmin<T>(a: T, b: T) -> T;
@@ -57,3 +58,10 @@ extern "platform-intrinsic" {
57
58
pub fn simd_fsqrt<T>(a: T) -> T;
59
pub fn simd_fma<T>(a: T, b: T, c: T) -> T;
60
}
61
+
62
+// incorrect, but compiles until the bootstrap compiler is updated
63
+#[cfg(stage0)]
64
+pub fn simd_select_bitmask<M, T>(m: M, a: T, b: T) -> T {
65
+ drop((m, b));
66
+ a
67
+}
0 commit comments