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

◆ test_unpacklo_u64_as_u32_4()

bool autoresearch::simd_check::test_unpacklo_u64_as_u32_4 ( )
inline

Definition at line 574 of file AutoResearchSimd.h.

574 {
575 // {a0, a1, b0, b1}
576 simd_u32x4 a = set_u32_4(1, 2, 3, 4);
577 simd_u32x4 b = set_u32_4(10, 20, 30, 40);
578 uint32_t output[4] = {0};
579 store_u32_4(output, unpacklo_u64_as_u32_4(a, b));
580 uint32_t expected[4] = {1, 2, 10, 20};
581 return compare_u32(expected, output, 4);
582}
bool compare_u32(const uint32_t *a, const uint32_t *b, size_t n)
platforms::simd_u32x4 simd_u32x4
Definition types.h:26

References compare_u32().

Referenced by getTests().

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