| 286 | // ============================================================================ |
| 287 | |
| 288 | inline bool test_and_u8_16() { |
| 289 | uint8_t a[16] = {0xFF,0x0F,0xF0,0xAA, 0xFF,0x0F,0xF0,0xAA, 0xFF,0x0F,0xF0,0xAA, 0xFF,0x0F,0xF0,0xAA}; |
| 290 | uint8_t b[16] = {0x0F,0xFF,0xFF,0x55, 0x0F,0xFF,0xFF,0x55, 0x0F,0xFF,0xFF,0x55, 0x0F,0xFF,0xFF,0x55}; |
| 291 | uint8_t expected[16] = {0x0F,0x0F,0xF0,0x00, 0x0F,0x0F,0xF0,0x00, 0x0F,0x0F,0xF0,0x00, 0x0F,0x0F,0xF0,0x00}; |
| 292 | uint8_t output[16] = {0}; |
| 293 | store_u8_16(output, and_u8_16(load_u8_16(a), load_u8_16(b))); |
| 294 | return compare_u8(expected, output, 16); |
| 295 | } |
| 296 | |
| 297 | inline bool test_or_u8_16() { |
| 298 | uint8_t a[16] = {0xFF,0x0F,0xF0,0xAA, 0x00,0x00,0xFF,0x80, 0xFF,0x0F,0xF0,0xAA, 0x00,0x00,0xFF,0x80}; |
nothing calls this directly
no test coverage detected