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

◆ test_crossval_mulhi_u32_4()

bool autoresearch::simd_check::test_crossval_mulhi_u32_4 ( )
inline

Definition at line 966 of file AutoResearchSimd.h.

966 {
967 uint32_t a[4] = {0xFFFFFFFF, 0x80000000, 0x00010000, 0x00000001};
968 uint32_t b[4] = {0x00000002, 0x00000002, 0x00010000, 0xFFFFFFFF};
969 uint32_t expected[4], actual[4];
970 ref_mulhi_u32_4(a, b, expected);
971 store_u32_4(actual, mulhi_u32_4(load_u32_4(a), load_u32_4(b)));
972 return compare_u32(expected, actual, 4);
973}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)
void ref_mulhi_u32_4(const uint32_t *a, const uint32_t *b, uint32_t *out)

References compare_u32(), and ref_mulhi_u32_4().

Referenced by getTests().

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