MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / vfloat8_lit

Function vfloat8_lit

Source/UnitTest/test_simd.cpp:45–54  ·  view source on GitHub ↗

* @brief Construct from 8 scalar values. * * The value of @c a is stored to lane 0 (LSB) in the SIMD register. */

Source from the content-addressed store, hash-verified

43 * The value of @c a is stored to lane 0 (LSB) in the SIMD register.
44 */
45static 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.

Callers 1

TESTFunction · 0.85

Calls 1

vfloat8Class · 0.50

Tested by

no test coverage detected