tiny.simd.slideDownLanesOr
Defined in slide.
Source
Source: lib/simd/src/slide.zig:35
zig
pub fn slideDownLanesOr( comptime D: type, high: D.Vector, low: D.Vector, amount: usize,) D.Vector { std.debug.assert(amount <= D.lane_count); const high_lanes: [D.lane_count]D.Lane = @bitCast(high); const low_lanes: [D.lane_count]D.Lane = @bitCast(low); var result: [D.lane_count]D.Lane = undefined; for (0..D.lane_count) |index| { result[index] = if (index < D.lane_count - amount) low_lanes[index + amount] else high_lanes[index]; } return @bitCast(result);}Source: lib/simd/src/root.zig:889
zig
pub const slideDownLanesOr = slide.slideDownLanesOr;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |