| 675 | } |
| 676 | |
| 677 | inline bool test_max_f32_4() { |
| 678 | float a[4] = {1.0f, 5.0f, -3.0f, 7.0f}; |
| 679 | float b[4] = {4.0f, 2.0f, 6.0f, -1.0f}; |
| 680 | float expected[4] = {4.0f, 5.0f, 6.0f, 7.0f}; |
| 681 | float output[4] = {0.0f}; |
| 682 | store_f32_4(output, max_f32_4(load_f32_4(a), load_f32_4(b))); |
| 683 | return compare_f32(expected, output, 4); |
| 684 | } |
| 685 | |
| 686 | // ============================================================================ |
| 687 | // Cross-AutoResearch Tests: SIMD vs Scalar Reference |
nothing calls this directly
no test coverage detected