rust/src/librustc_llvm
Alex Crichton fe53a8106d rustc: Add support for some more x86 SIMD ops
This commit adds compiler support for two basic operations needed for binding
SIMD on x86 platforms:

* First, a `nontemporal_store` intrinsic was added for the `_mm_stream_ps`, seen
  in rust-lang-nursery/stdsimd#114. This was relatively straightforward and is
  quite similar to the volatile store intrinsic.

* Next, and much more intrusively, a new type to the backend was added. The
  `x86_mmx` type is used in LLVM for a 64-bit vector register and is used in
  various intrinsics like `_mm_abs_pi8` as seen in rust-lang-nursery/stdsimd#74.
  This new type was added as a new layout option as well as having support added
  to the trans backend. The type is enabled with the `#[repr(x86_mmx)]`
  attribute which is intended to just be an implementation detail of SIMD in
  Rust.

I'm not 100% certain about how the `x86_mmx` type was added, so any extra eyes
or thoughts on that would be greatly appreciated!
2017-11-25 11:03:13 -08:00
..
archive_ro.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
build.rs Auto merge of #45041 - est31:master, r=alexcrichton 2017-10-09 04:59:02 +00:00
Cargo.toml Bump cc to 1.01 to include x86_64-unknown-linux-gnux32 support 2017-10-11 21:35:53 -03:00
diagnostic.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
ffi.rs rustc: Add support for some more x86 SIMD ops 2017-11-25 11:03:13 -08:00
lib.rs rustc_trans: support scalar pairs directly in the Rust ABI. 2017-11-19 02:43:55 +02:00