The function returns a float. This fixes the test in x86_32 targets.
Unified · Split
| @@ -52,7 +52,7 @@ static void test_sum_square(void) · 51 unmodified lines | |||
| 52 | INTFLOAT res1; | 52 | INTFLOAT res1; |
| 53 | LOCAL_ALIGNED_16(INTFLOAT, src, [256], [2]); | 53 | LOCAL_ALIGNED_16(INTFLOAT, src, [256], [2]); |
| 54 | 54 | ||
| 55 | declare_func(INTFLOAT, INTFLOAT (*x)[2], int n); | 55 | declare_func_float(INTFLOAT, INTFLOAT (*x)[2], int n); |
| 56 | 56 | ||
| 57 | randomize((INTFLOAT *)src, 256 * 2); | 57 | randomize((INTFLOAT *)src, 256 * 2); |
| 58 | res0 = call_ref(src, 256); | 58 | res0 = call_ref(src, 256); |