FastLED 3.10.9
Loading...
Searching...
No Matches

◆ test_crossval_sub_i32_4()

bool autoresearch::simd_check::test_crossval_sub_i32_4 ( )
inline

Definition at line 853 of file AutoResearchSimd.h.

853 {
854 uint32_t a[4] = {0x00000000, 0x80000000, 0x7FFFFFFF, 0x00000001};
855 uint32_t b[4] = {0x00000001, 0x7FFFFFFF, 0x80000000, 0x00000002};
856 uint32_t expected[4], actual[4];
857 ref_sub_i32_4(a, b, expected);
858 store_u32_4(actual, sub_i32_4(load_u32_4(a), load_u32_4(b)));
859 return compare_u32(expected, actual, 4);
860}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)
void ref_sub_i32_4(const uint32_t *a, const uint32_t *b, uint32_t *out)

References compare_u32(), and ref_sub_i32_4().

Referenced by getTests().

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