tiny.simd.widenMulPairwiseAdd
Defined in multiply.
Source
Source: lib/simd/src/multiply.zig:81
zig
pub fn widenMulPairwiseAdd(comptime DW: type, a: anytype, b: @TypeOf(a)) DW.Vector { validatePairwiseWide(DW, @TypeOf(a)); var result: DW.Vector = undefined; inline for (0..DW.lane_count) |index| { const first = productLane(DW.Lane, a[index * 2], b[index * 2]); const second = productLane(DW.Lane, a[index * 2 + 1], b[index * 2 + 1]); result[index] = addLane(DW.Lane, first, second); } return result;}Source: lib/simd/src/root.zig:346
zig
pub const widenMulPairwiseAdd = multiply.widenMulPairwiseAdd;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |