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

◆ test_crossval_or_u32_4()

bool autoresearch::simd_check::test_crossval_or_u32_4 ( )
inline

Definition at line 772 of file AutoResearchSimd.h.

772 {
773 uint32_t a[4] = {0x80000001, 0x7FFFFFFE, 0xDEADBEEF, 0x00000000};
774 uint32_t b[4] = {0x80000001, 0x80000001, 0xCAFEBABE, 0xFFFFFFFF};
775 uint32_t expected[4], actual[4];
776 ref_or_u32_4(a, b, expected);
777 store_u32_4(actual, or_u32_4(load_u32_4(a), load_u32_4(b)));
778 return compare_u32(expected, actual, 4);
779}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)
void ref_or_u32_4(const uint32_t *a, const uint32_t *b, uint32_t *out)

References compare_u32(), and ref_or_u32_4().

Referenced by getTests().

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