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

◆ test_srl_u32_4()

bool autoresearch::simd_check::test_srl_u32_4 ( )
inline

Definition at line 435 of file AutoResearchSimd.h.

435 {
436 uint32_t input[4] = {0x80000000, 0xFFFFFFFF, 0x00000010, 0x12345678};
437 uint32_t output[4] = {0};
438 store_u32_4(output, srl_u32_4(load_u32_4(input), 4));
439 uint32_t expected[4] = {0x08000000, 0x0FFFFFFF, 0x00000001, 0x01234567};
440 return compare_u32(expected, output, 4);
441}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)

References compare_u32().

Referenced by getTests().

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