good point, SIMD vectors are values where you can't take pointers / addresses (except when suitable cpu dependent intrinsics are available that load a value from a memory and do an operation and optionally store it again )
On Tue, Jan 14, 2014 at 3:09 PM, Daniel Micay <danielmi...@gmail.com> wrote: > On Tue, Jan 14, 2014 at 3:06 PM, Richard Diamond > <wich...@vitalitystudios.com> wrote: > > > > They do with #[simd]. Though I think it would be worth considering > whether > > all tuples of a single primitive type should be automatically considered > > #[simd] and be lowered to a LLVM vector type. In fact one way I'm > > considering impling this is to treat the mask as a tuple and lower it as > a > > vector into a shufflevector mask operand. > > This isn't possible due to alignment issues. Only very recent Intel > CPUs lack the requirement of alignment for SIMD instructions. > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev >
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev