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

◆ test_crossval_max_i32_4()

bool autoresearch::simd_check::test_crossval_max_i32_4 ( )
inline

Definition at line 928 of file AutoResearchSimd.h.

928 {
929 uint32_t a[4] = {0x80000000, 0x7FFFFFFF, 0xFFFFFFFF, 0x00000000};
930 uint32_t b[4] = {0x7FFFFFFF, 0x80000000, 0x00000000, 0xFFFFFFFF};
931 uint32_t expected[4], actual[4];
932 ref_max_i32_4(a, b, expected);
933 store_u32_4(actual, max_i32_4(load_u32_4(a), load_u32_4(b)));
934 return compare_u32(expected, actual, 4);
935}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)
void ref_max_i32_4(const uint32_t *a, const uint32_t *b, uint32_t *out)

References compare_u32(), and ref_max_i32_4().

Referenced by getTests().

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