MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / split_lanes

Method split_lanes

cranelift/codegen/src/ir/types.rs:361–366  ·  view source on GitHub ↗

Split the lane width in half and double the number of lanes to maintain the same bit-width. If this is a scalar type of `n` bits, it produces a SIMD vector type of `(n/2)x2`.

(self)

Source from the content-addressed store, hash-verified

359 ///
360 /// If this is a scalar type of `n` bits, it produces a SIMD vector type of `(n/2)x2`.
361 pub fn split_lanes(self) -> Option<Self> {
362 match self.half_width() {
363 Some(half_width) => half_width.by(2),
364 None => None,
365 }
366 }
367
368 /// Merge lanes to half the number of lanes and double the lane width to maintain the same
369 /// bit-width.

Callers 2

stepFunction · 0.45
resolveMethod · 0.45

Calls 2

half_widthMethod · 0.45
byMethod · 0.45

Tested by

no test coverage detected