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

◆ test_min_u8_16()

bool autoresearch::simd_check::test_min_u8_16 ( )
inline

Definition at line 240 of file AutoResearchSimd.h.

240 {
241 uint8_t a[16] = {10,200,30,240, 0,255,1,254, 10,200,30,240, 0,255,1,254};
242 uint8_t b[16] = {20,100,40,120, 0,0,255,255, 20,100,40,120, 0,0,255,255};
243 uint8_t expected[16] = {10,100,30,120, 0,0,1,254, 10,100,30,120, 0,0,1,254};
244 uint8_t output[16] = {0};
245 store_u8_16(output, min_u8_16(load_u8_16(a), load_u8_16(b)));
246 return compare_u8(expected, output, 16);
247}
bool compare_u8(const uint8_t *a, const uint8_t *b, size_t n)
unsigned char uint8_t
Definition s16x16x4.h:209

References compare_u8().

Referenced by getTests().

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