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

◆ test_unpackhi_u64_as_u32_4()

bool autoresearch::simd_check::test_unpackhi_u64_as_u32_4 ( )
inline

Definition at line 584 of file AutoResearchSimd.h.

584 {
585 // {a2, a3, b2, b3}
586 simd_u32x4 a = set_u32_4(1, 2, 3, 4);
587 simd_u32x4 b = set_u32_4(10, 20, 30, 40);
588 uint32_t output[4] = {0};
589 store_u32_4(output, unpackhi_u64_as_u32_4(a, b));
590 uint32_t expected[4] = {3, 4, 30, 40};
591 return compare_u32(expected, output, 4);
592}
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: