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

Function test_load_store_u32_4_boundary

examples/AutoResearch/AutoResearchSimd.h:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86inline bool test_load_store_u32_4_boundary() {
87 uint32_t input[4] = {0, 0xFFFFFFFF, 1, 0x80000000};
88 uint32_t output[4] = {0};
89 simd_u32x4 v = load_u32_4(input);
90 store_u32_4(output, v);
91 return compare_u32(input, output, 4);
92}
93
94inline bool test_load_store_u32_4_aligned() {
95 FL_ALIGNAS(16) uint32_t input[4] = {0xAAAAAAAA, 0xBBBBBBBB, 0xCCCCCCCC, 0xDDDDDDDD};

Callers

nothing calls this directly

Calls 1

compare_u32Function · 0.85

Tested by

no test coverage detected