[−][src]Function safe_arch::cast_to_m256i_from_m256
#[must_use]pub fn cast_to_m256i_from_m256(a: m256) -> m256i
This is supported with target feature
avx
only.Bit-preserving cast to m256i
from m256
.
let a = load_f32_splat_m256(&1.0); let b: [u64; 4] = cast_to_m256i_from_m256(a).into(); assert_eq!(b, [0x3f800000_3f800000; 4]);
- Intrinsic:
_mm256_castps_si256
- Assembly: none