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

◆ test_crossval_mulhi_i32_4()

bool autoresearch::simd_check::test_crossval_mulhi_i32_4 ( )
inline

Definition at line 957 of file AutoResearchSimd.h.

957 {
958 uint32_t a[4] = {0x7FFFFFFF, 0x80000000, 0x00010000, 0xFFFF0000};
959 uint32_t b[4] = {0x00020000, 0x00020000, 0xFFFF0000, 0xFFFF0000};
960 uint32_t expected[4], actual[4];
961 ref_mulhi_i32_4(a, b, expected);
962 store_u32_4(actual, mulhi_i32_4(load_u32_4(a), load_u32_4(b)));
963 return compare_u32(expected, actual, 4);
964}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)
void ref_mulhi_i32_4(const uint32_t *a, const uint32_t *b, uint32_t *out)

References compare_u32(), and ref_mulhi_i32_4().

Referenced by getTests().

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