| 277 | } |
| 278 | |
| 279 | void test_set1_f32_4(TestResult& result) { |
| 280 | float value = 3.14159f; |
| 281 | float expected[4] = {3.14159f, 3.14159f, 3.14159f, 3.14159f}; |
| 282 | float output[4] = {0.0f}; |
| 283 | |
| 284 | simd_f32x4 v = set1_f32_4(value); |
| 285 | store_f32_4(output, v); |
| 286 | |
| 287 | if (!compare_f32_arrays(expected, output, 4)) { |
| 288 | result.fail("Set1 f32x4 operation produced incorrect results"); |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | // ============================================================================ |
| 293 | // Floating Point Tests |
nothing calls this directly
no test coverage detected