FastLED 3.9.15
Loading...
Searching...
No Matches

◆ test_xor_u32_4()

bool autoresearch::simd_check::test_xor_u32_4 ( )
inline

Definition at line 374 of file AutoResearchSimd.h.

374 {
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}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)
fl::u32 uint32_t
Definition s16x16x4.h:219

References compare_u32().

Referenced by getTests().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: