* @brief Construct from 8 scalar values. * * The value of @c a is stored to lane 0 (LSB) in the SIMD register. */
| 43 | * The value of @c a is stored to lane 0 (LSB) in the SIMD register. |
| 44 | */ |
| 45 | static vfloat8 vfloat8_lit( |
| 46 | float a, float b, float c, float d, |
| 47 | float e, float f, float g, float h |
| 48 | ) { |
| 49 | alignas(32) float data[8] { |
| 50 | a, b, c, d, e, f, g, h |
| 51 | }; |
| 52 | |
| 53 | return vfloat8(data); |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * @brief Construct from 8 scalar values. |