Skip to documentation
SLOP

tiny.simd.storeInterleaved2

Reference tiny.simd storeInterleaved2

Defined in memory.

Called byCallsNo direct callstest sourcelib.simd.src.memorytest: Highway two three and four chan...private sourcelib.simd.src.testverifyArrangeOraclememorystoreInterleaved2
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/simd/src/memory.zig:182

zig
pub fn storeInterleaved2(    comptime D: type,    a: D.Vector,    b: D.Vector,    output: []D.Lane,) void {    std.debug.assert(output.len >= D.lane_count * 2);    const values = [2]D.Vector{ a, b };    inline for (0..D.lane_count) |lane_index| {        inline for (0..2) |vector_index| {            output[lane_index * 2 + vector_index] = values[vector_index][lane_index];        }    }}

Source: lib/simd/src/root.zig:241

zig
pub const storeInterleaved2 = memory.storeInterleaved2;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433