-
Notifications
You must be signed in to change notification settings - Fork 289
Make SIMD tracking issue marked for stdsimd
too
#460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ mod ppsv; | |
/// This is an **unstable** module for portable SIMD operations. This module | ||
/// has not yet gone through an RFC and is likely to change, but feedback is | ||
/// always welcome! | ||
#[unstable(feature = "stdsimd", issue = "0")] | ||
#[unstable(feature = "stdsimd", issue = "27731")] | ||
pub mod simd { | ||
pub use coresimd::ppsv::*; | ||
} | ||
|
@@ -76,7 +76,7 @@ pub mod arch { | |
/// See the [module documentation](../index.html) for more details. | ||
#[cfg(any(target_arch = "arm", dox))] | ||
#[doc(cfg(target_arch = "arm"))] | ||
#[unstable(feature = "stdsimd", issue = "0")] | ||
#[unstable(feature = "stdsimd", issue = "27731")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The feature we should use here is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @alexcrichton the alternative here is to add a new feature to rustc, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The library component is |
||
pub mod arm { | ||
pub use coresimd::arm::*; | ||
} | ||
|
@@ -86,7 +86,7 @@ pub mod arch { | |
/// See the [module documentation](../index.html) for more details. | ||
#[cfg(any(target_arch = "aarch64", dox))] | ||
#[doc(cfg(target_arch = "aarch64"))] | ||
#[unstable(feature = "stdsimd", issue = "0")] | ||
#[unstable(feature = "stdsimd", issue = "27731")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The feature name that we could re-use is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The tracking issue here should probably be the same as the arm issue: #148 . |
||
pub mod aarch64 { | ||
pub use coresimd::aarch64::*; | ||
pub use coresimd::arm::*; | ||
|
@@ -96,7 +96,7 @@ pub mod arch { | |
/// | ||
/// See the [module documentation](../index.html) for more details. | ||
#[cfg(target_arch = "wasm32")] | ||
#[unstable(feature = "stdsimd", issue = "0")] | ||
#[unstable(feature = "stdsimd", issue = "27731")] | ||
pub mod wasm32 { | ||
pub use coresimd::wasm32::*; | ||
} | ||
|
@@ -106,7 +106,7 @@ pub mod arch { | |
/// See the [module documentation](../index.html) for more details. | ||
#[cfg(any(target_arch = "mips", dox))] | ||
#[doc(cfg(target_arch = "mips"))] | ||
#[unstable(feature = "stdsimd", issue = "0")] | ||
#[unstable(feature = "stdsimd", issue = "27731")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tracking issue here is #170 . |
||
pub mod mips { | ||
pub use coresimd::mips::*; | ||
} | ||
|
@@ -116,7 +116,7 @@ pub mod arch { | |
/// See the [module documentation](../index.html) for more details. | ||
#[cfg(any(target_arch = "mips64", dox))] | ||
#[doc(cfg(target_arch = "mips64"))] | ||
#[unstable(feature = "stdsimd", issue = "0")] | ||
#[unstable(feature = "stdsimd", issue = "27731")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tracking issue here is #170 . |
||
pub mod mips64 { | ||
pub use coresimd::mips::*; | ||
} | ||
|
@@ -126,7 +126,7 @@ pub mod arch { | |
/// See the [module documentation](../index.html) for more details. | ||
#[cfg(any(target_arch = "powerpc", dox))] | ||
#[doc(cfg(target_arch = "powerpc"))] | ||
#[unstable(feature = "stdsimd", issue = "0")] | ||
#[unstable(feature = "stdsimd", issue = "27731")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For powerpc we don't have a tracking issue in the stdsimd repo but there is one issue open about altivec in the rust-lang/rust repo that we might want to recycle here: rust-lang/rust#42743 cc @lu-zero I don't know if you wanted to open an issue in the stdsimd repo tracking powerpc status like we did for x86, arm, and msa, but if you do don't forget to cross-link that rust-lang/rust issue. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can open an issue about this as well. Do you have a specific format for the tracker ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No specific format, what I've done in the past is hack a script that just translate the vendor C API to rust types, and then formats it as a list for the tracker. Each vendor is different, so there is not much to reuse here :/ |
||
pub mod powerpc { | ||
pub use coresimd::powerpc::*; | ||
} | ||
|
@@ -137,7 +137,7 @@ pub mod arch { | |
#[cfg(target_arch = "powerpc64")] | ||
#[cfg(any(target_arch = "powerpc64", dox))] | ||
#[doc(cfg(target_arch = "powerpc64"))] | ||
#[unstable(feature = "stdsimd", issue = "0")] | ||
#[unstable(feature = "stdsimd", issue = "27731")] | ||
pub mod powerpc64 { | ||
pub use coresimd::powerpc64::*; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the issue is the right one, but maybe the feature should be
core_simd
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if that feature already exists in rustc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ripgrep says there is no instance of
core_simd
orcoresimd
being afeature
attribute in the rust repo + submodules.