tiny.simd.loadInterleaved2
Defined in memory.
Source
Source: lib/simd/src/memory.zig:149
zig
pub fn loadInterleaved2(comptime D: type, input: []const D.Lane) [2]D.Vector { std.debug.assert(input.len >= D.lane_count * 2); var result: [2]D.Vector = undefined; inline for (0..D.lane_count) |lane_index| { inline for (0..2) |vector_index| { result[vector_index][lane_index] = input[lane_index * 2 + vector_index]; } } return result;}Source: lib/simd/src/root.zig:238
zig
pub const loadInterleaved2 = memory.loadInterleaved2;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |