MCPcopy Create free account
hub / github.com/FastLED/FastLED / test_load_store_f32_4

Function test_load_store_f32_4

examples/AutoResearch/AutoResearchSimd.h:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104// ============================================================================
105
106inline bool test_load_store_f32_4() {
107 float input[4] = {1.5f, 2.5f, 3.5f, 4.5f};
108 float output[4] = {0.0f};
109 simd_f32x4 v = load_f32_4(input);
110 store_f32_4(output, v);
111 return compare_f32(input, output, 4);
112}
113
114inline bool test_load_store_f32_4_special() {
115 float input[4] = {0.0f, -0.0f, 1e30f, -1e30f};

Callers

nothing calls this directly

Calls 1

compare_f32Function · 0.85

Tested by

no test coverage detected