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

◆ test_sll_u32_4()

bool autoresearch::simd_check::test_sll_u32_4 ( )
inline

Definition at line 444 of file AutoResearchSimd.h.

444 {
445 uint32_t input[4] = {0x00000001, 0x0FFFFFFF, 0x80000000, 0x12345678};
446 uint32_t output[4] = {0};
447 store_u32_4(output, sll_u32_4(load_u32_4(input), 4));
448 uint32_t expected[4] = {0x00000010, 0xFFFFFFF0, 0x00000000, 0x23456780};
449 return compare_u32(expected, output, 4);
450}
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: