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

◆ test_crossval_add_i32_4()

bool autoresearch::simd_check::test_crossval_add_i32_4 ( )
inline

Definition at line 843 of file AutoResearchSimd.h.

843 {
844 uint32_t a[4] = {0x7FFFFFFF, 0x80000000, 0xFFFFFFFF, 0x00000001};
845 uint32_t b[4] = {0x00000001, 0x80000000, 0x00000001, 0xFFFFFFFF};
846 uint32_t expected[4], actual[4];
847 ref_add_i32_4(a, b, expected);
848 store_u32_4(actual, add_i32_4(load_u32_4(a), load_u32_4(b)));
849 return compare_u32(expected, actual, 4);
850}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)
void ref_add_i32_4(const uint32_t *a, const uint32_t *b, uint32_t *out)

References compare_u32(), and ref_add_i32_4().

Referenced by getTests().

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