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

Function test_load_store_f32_4

examples/SIMD/simd_tests.cpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void test_load_store_f32_4(TestResult& result) {
46 float input[4] = {1.5f, 2.5f, 3.5f, 4.5f};
47 float output[4] = {0.0f};
48
49 simd_f32x4 v = load_f32_4(input);
50 store_f32_4(output, v);
51
52 if (!compare_f32_arrays(input, output, 4)) {
53 result.fail("Load/store f32x4 data mismatch");
54 }
55}
56
57// ============================================================================
58// Arithmetic Tests

Callers

nothing calls this directly

Calls 2

compare_f32_arraysFunction · 0.85
failMethod · 0.45

Tested by

no test coverage detected