[][src]Function safe_arch::cast_to_m256_from_m256i

#[must_use]pub fn cast_to_m256_from_m256i(a: m256i) -> m256
This is supported with target feature avx only.

Bit-preserving cast to m256 from m256i.

let a = m256i::from([1.0_f32.to_bits(); 8]);
let b = cast_to_m256_from_m256i(a).to_array();
assert_eq!(b, [1.0; 8]);