| 605 | } |
| 606 | |
| 607 | inline bool test_add_f32_4_negative() { |
| 608 | float a[4] = {-1.0f, 2.0f, -3.0f, 0.0f}; |
| 609 | float b[4] = {1.0f, -2.0f, -3.0f, 0.0f}; |
| 610 | float expected[4] = {0.0f, 0.0f, -6.0f, 0.0f}; |
| 611 | float output[4] = {0.0f}; |
| 612 | store_f32_4(output, add_f32_4(load_f32_4(a), load_f32_4(b))); |
| 613 | return compare_f32(expected, output, 4); |
| 614 | } |
| 615 | |
| 616 | inline bool test_sub_f32_4() { |
| 617 | float a[4] = {10.0f, 20.0f, 30.0f, 40.0f}; |
nothing calls this directly
no test coverage detected