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

Function test_xor_u32_4

examples/AutoResearch/AutoResearchSimd.h:374–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372// ============================================================================
373
374inline bool test_xor_u32_4() {
375 uint32_t a[4] = {0xFFFFFFFF, 0x0F0F0F0F, 0xAAAAAAAA, 0x12345678};
376 uint32_t b[4] = {0x0F0F0F0F, 0xFFFFFFFF, 0x55555555, 0x12345678};
377 uint32_t expected[4] = {0xF0F0F0F0, 0xF0F0F0F0, 0xFFFFFFFF, 0x00000000};
378 uint32_t output[4] = {0};
379 store_u32_4(output, xor_u32_4(load_u32_4(a), load_u32_4(b)));
380 return compare_u32(expected, output, 4);
381}
382
383inline bool test_and_u32_4() {
384 uint32_t a[4] = {0xFFFF0000, 0x0F0F0F0F, 0xAAAAAAAA, 0x00000000};

Callers

nothing calls this directly

Calls 1

compare_u32Function · 0.85

Tested by

no test coverage detected