I would like to optimize my simulation by using mathematical operations that take simd vectors as arguments and apply simd intrinsics to them. For example, I would like to have a `fn sin(v: __m256d) -> __m256d`

.

I found that rust actually has codegen tests for such functions that come with llvm, here: https://github.com/rust-lang/rust/blob/b7c6e8f1805cd8a4b0a1c1f22f17a89e9e2cea23/src/test/codegen/simd-intrinsic-float-cos.rs

I am not sure if this is 100% what I need, but I figure those `#[repr(simd)]`

applied to the various tuple structs would yield `__m256`

and `__m256d`

and their likes.

So how do I use this? Is anything of this exposed yet? Or all highly experimental? I am fine with using nightly.