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

◆ test_crossval_andnot_u8_16()

bool autoresearch::simd_check::test_crossval_andnot_u8_16 ( )
inline

Definition at line 744 of file AutoResearchSimd.h.

744 {
745 uint8_t a[16] = {0xAA,0x55,0xFF,0x00, 0x0F,0xF0,0x81,0x7E, 0x01,0xFE,0xCC,0x33, 0xDB,0x24,0xA5,0x5A};
746 uint8_t b[16] = {0x55,0xAA,0x00,0xFF, 0xF0,0x0F,0x7E,0x81, 0xFE,0x01,0x33,0xCC, 0x24,0xDB,0x5A,0xA5};
747 uint8_t expected[16], actual[16];
748 ref_andnot_u8_16(a, b, expected);
749 store_u8_16(actual, andnot_u8_16(load_u8_16(a), load_u8_16(b)));
750 return compare_u8(expected, actual, 16);
751}
void ref_andnot_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_andnot_u8_16().

Referenced by getTests().

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