rust/src/libstd
kennytm 6f07aaa428
Rollup merge of #48513 - alexcrichton:simd, r=JoshTriplett
std: Add `arch` and `simd` modules

This commit imports the `stdsimd` crate into the standard library,
creating an `arch` and `simd` module inside of both libcore and libstd.
Both of these modules are **unstable** and will continue to be so until
RFC 2335 is stabilized.

As a brief recap, the modules are organized as so:

* `arch` contains all current architectures with intrinsics, for example
  `std::arch::x86`, `std::arch::x86_64`, `std::arch::arm`, etc. These
  modules contain all of the intrinsics defined for the platform, like
  `_mm_set1_epi8`.
* In the standard library, the `arch` module also exports a
  `is_target_feature_detected` macro which performs runtime detection to
  determine whether a target feature is available at runtime.
* The `simd` module contains experimental versions of strongly-typed
  lane-aware SIMD primitives, to be fully fleshed out in a future RFC.

The main purpose of this commit is to start pulling in all these
intrinsics and such into the standard library on nightly and allow
testing and such. This'll help allow users to easily kick the tires and
see if intrinsics work as well as allow us to test out all the
infrastructure for moving the intrinsics into the standard library.
2018-03-04 02:17:38 +08:00
..
collections Rollup merge of #48166 - hedgehog1024:hedgehog1024-stabilize-entry_and_modify, r=alexcrichton 2018-02-25 15:54:42 +08:00
ffi Mark doc examples w/ `extern` blocks as `ignore`. 2018-02-18 10:27:45 -05:00
io Fix a bug introduced in previous commit 2018-03-01 00:07:27 +01:00
net Rollup merge of #48328 - frewsxcv:frewsxcv-clarify-error-zero-duration, r=sfackler 2018-03-02 22:01:20 -08:00
os fix docs link 2018-02-06 09:26:15 -06:00
prelude Reexport -> re-export in prose and documentation comments 2018-01-15 13:36:53 -05:00
sync Rollup merge of #47970 - vlovich:condvar_wait_until, r=dtolnay 2018-02-25 15:54:39 +08:00
sys Rollup merge of #48328 - frewsxcv:frewsxcv-clarify-error-zero-duration, r=sfackler 2018-03-02 22:01:20 -08:00
sys_common fix more typos found by codespell. 2018-02-17 17:38:49 +01:00
thread Fix a bug introduced in previous commit 2018-03-01 00:07:27 +01:00
Cargo.toml Implement extensible syscall interface for wasm 2018-01-30 23:22:19 +00:00
ascii.rs Fixes docs for ASCII functions to no longer claim U+0021 is '@'. 2018-02-24 23:48:51 -06:00
build.rs Add proper library dependencies for libstd on CloudABI. 2017-12-29 09:33:26 +01:00
env.rs Unimplement Send/Sync for ::env::{Args,ArgsOs,Vars,VarsOs} 2018-02-05 00:00:09 +01:00
error.rs Rename never_type_impls gate to never_type 2017-12-12 14:03:03 +08:00
f32.rs typo: correct endianess to endianness (this also changes function names!) 2018-02-11 00:56:24 +01:00
f64.rs typo: correct endianess to endianness (this also changes function names!) 2018-02-11 00:56:24 +01:00
fs.rs Wording fixes from review for File. 2018-02-17 08:47:03 -05:00
heap.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
lib.rs std: Add `arch` and `simd` modules 2018-03-02 14:34:07 -08:00
macros.rs update the builtin macro doc stubs 2018-02-07 12:48:25 -05:00
memchr.rs Fix inconsistent doc headings 2017-08-24 18:42:53 +02:00
num.rs Auto merge of #40706 - irfanhudda:doc-next-power-of-two, r=alexcrichton 2017-06-08 01:07:08 +00:00
panic.rs Auto merge of #47687 - SimonSapin:panic-impl, r=sfackler 2018-02-18 06:02:35 +00:00
panicking.rs make `#[unwind]` attribute specify expectations more clearly 2018-02-20 19:12:52 -05:00
path.rs Add std::path::Path::ancestors 2018-02-28 15:29:16 +01:00
primitive_docs.rs Make primitive types docs relevant 2018-02-11 21:53:30 -05:00
process.rs Restrict the Termination impls to simplify stabilization 2018-02-24 23:51:08 -08:00
rt.rs move Termination trait to std::process 2018-02-22 17:57:08 -05:00
time.rs Move time::Duration to libcore 2018-01-29 18:16:43 -05:00