Broadcast single s0x32 value to all 4 lanes
| 37 | |
| 38 | // Broadcast single s0x32 value to all 4 lanes |
| 39 | static FASTLED_FORCE_INLINE s0x32x4 set1(s0x32 value) { |
| 40 | return from_raw(simd::platforms::set1_u32_4(static_cast<u32>(value.raw()))); |
| 41 | } |
| 42 | |
| 43 | // ---- SIMD multiply: s0x32x4 × s16x16x4 → s16x16x4 ---------------------- |
| 44 | // Math: Q31 × Q16 = Q47 → shift right 31 → Q16 |