| 16 | // ============================================================================ |
| 17 | |
| 18 | void test_load_store_u8_16(TestResult& result) { |
| 19 | uint8_t input[16] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}; |
| 20 | uint8_t output[16] = {0}; |
| 21 | |
| 22 | simd_u8x16 v = load_u8_16(input); |
| 23 | store_u8_16(output, v); |
| 24 | |
| 25 | if (!compare_u8_arrays(input, output, 16)) { |
| 26 | result.fail("Load/store u8x16 data mismatch"); |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | void test_load_store_u32_4(TestResult& result) { |
| 31 | uint32_t input[4] = {0x12345678, 0x9ABCDEF0, 0xFEDCBA98, 0x76543210}; |
nothing calls this directly
no test coverage detected