diff options
| author | bors <bors@rust-lang.org> | 2017-11-25 22:38:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-11-25 22:38:47 +0000 |
| commit | 128b40fadc2c227a07e77e06c05dd33c47390237 (patch) | |
| tree | 21c61528dcc42e0c992f24a937d8b2faf13580b0 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | e97ba83287a6f0f85cc9cc7a51ab309487e17038 (diff) | |
| parent | fe53a8106dfb54b5fe04d2ce7e8ee6472b0d5b16 (diff) | |
| download | rust-128b40fadc2c227a07e77e06c05dd33c47390237.tar.gz rust-128b40fadc2c227a07e77e06c05dd33c47390237.zip | |
Auto merge of #45367 - alexcrichton:simd-llvm-changes, r=eddyb
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!
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
