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

◆ test_max_u8_16()

bool autoresearch::simd_check::test_max_u8_16 ( )
inline

Definition at line 249 of file AutoResearchSimd.h.

249 {
250 uint8_t a[16] = {10,200,30,240, 0,255,1,254, 10,200,30,240, 0,255,1,254};
251 uint8_t b[16] = {20,100,40,120, 0,0,255,255, 20,100,40,120, 0,0,255,255};
252 uint8_t expected[16] = {20,200,40,240, 0,255,255,255, 20,200,40,240, 0,255,255,255};
253 uint8_t output[16] = {0};
254 store_u8_16(output, max_u8_16(load_u8_16(a), load_u8_16(b)));
255 return compare_u8(expected, output, 16);
256}
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: