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

◆ test_and_u32_4()

bool autoresearch::simd_check::test_and_u32_4 ( )
inline

Definition at line 383 of file AutoResearchSimd.h.

383 {
384 uint32_t a[4] = {0xFFFF0000, 0x0F0F0F0F, 0xAAAAAAAA, 0x00000000};
385 uint32_t b[4] = {0x0000FFFF, 0xF0F0F0F0, 0xFFFFFFFF, 0xFFFFFFFF};
386 uint32_t expected[4] = {0x00000000, 0x00000000, 0xAAAAAAAA, 0x00000000};
387 uint32_t output[4] = {0};
388 store_u32_4(output, and_u32_4(load_u32_4(a), load_u32_4(b)));
389 return compare_u32(expected, output, 4);
390}
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: