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

◆ test_crossval_and_u8_16()

bool autoresearch::simd_check::test_crossval_and_u8_16 ( )
inline

Definition at line 717 of file AutoResearchSimd.h.

717 {
718 uint8_t a[16] = {0xAA,0x55,0xFF,0x00, 0x0F,0xF0,0x81,0x7E, 0x01,0xFE,0xCC,0x33, 0xDB,0x24,0xA5,0x5A};
719 uint8_t b[16] = {0x55,0xAA,0x00,0xFF, 0xF0,0x0F,0x7E,0x81, 0xFE,0x01,0x33,0xCC, 0x24,0xDB,0x5A,0xA5};
720 uint8_t expected[16], actual[16];
721 ref_and_u8_16(a, b, expected);
722 store_u8_16(actual, and_u8_16(load_u8_16(a), load_u8_16(b)));
723 return compare_u8(expected, actual, 16);
724}
void ref_and_u8_16(const uint8_t *a, const uint8_t *b, uint8_t *out)
bool compare_u8(const uint8_t *a, const uint8_t *b, size_t n)

References compare_u8(), and ref_and_u8_16().

Referenced by getTests().

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