[−][src]Function safe_arch::cast_to_m256_from_m256d
#[must_use]pub fn cast_to_m256_from_m256d(a: m256d) -> m256
This is supported with target feature
avx
only.Bit-preserving cast to m256
from m256d
.
let a = load_f64_splat_m256d(&1.0); assert_eq!( cast_to_m256_from_m256d(a).to_bits(), [0, 0x3FF0_0000, 0, 0x3FF0_0000, 0, 0x3FF0_0000, 0, 0x3FF0_0000] );
- Intrinsic:
_mm256_castpd_ps
- Assembly: none