Constant rustc_middle::ty::layout::MAX_SIMD_LANES [−][src]
pub const MAX_SIMD_LANES: u64 = 1 << 0xF; // 0x0000_0000_0000_8000u64
Expand description
The maximum supported number of lanes in a SIMD vector.
This value is selected based on backend support:
- LLVM does not appear to have a vector width limit.
- Cranelift stores the base-2 log of the lane count in a 4 bit integer.