| 596 | // ============================================================================ |
| 597 | |
| 598 | inline bool test_add_f32_4() { |
| 599 | float a[4] = {1.0f, 2.0f, 3.0f, 4.0f}; |
| 600 | float b[4] = {5.0f, 6.0f, 7.0f, 8.0f}; |
| 601 | float expected[4] = {6.0f, 8.0f, 10.0f, 12.0f}; |
| 602 | float output[4] = {0.0f}; |
| 603 | store_f32_4(output, add_f32_4(load_f32_4(a), load_f32_4(b))); |
| 604 | return compare_f32(expected, output, 4); |
| 605 | } |
| 606 | |
| 607 | inline bool test_add_f32_4_negative() { |
| 608 | float a[4] = {-1.0f, 2.0f, -3.0f, 0.0f}; |
nothing calls this directly
no test coverage detected