static int test_vector_fmac_scalar(AVFloatDSPContext *fdsp, AVFloatDSPContext *cdsp,

                                   const float *v1, const float *src0, float scale)

{

    LOCAL_ALIGNED(32, float, cdst, [LEN]);

    LOCAL_ALIGNED(32, float, odst, [LEN]);

    int ret;



    memcpy(cdst, v1, LEN * sizeof(*v1));

    memcpy(odst, v1, LEN * sizeof(*v1));



    cdsp->vector_fmac_scalar(cdst, src0, scale, LEN);

    fdsp->vector_fmac_scalar(odst, src0, scale, LEN);



    if (ret = compare_floats(cdst, odst, LEN, ARBITRARY_FMAC_SCALAR_CONST))

        av_log(NULL, AV_LOG_ERROR, "vector_fmac_scalar failed\n");



    return ret;

}

static int test_vector_fmac_scalar(AVFloatDSPContext *fdsp, AVFloatDSPContext *cdsp,

                                   const float *v1, const float *src0, float scale)

{

    LOCAL_ALIGNED(32, float, cdst, [LEN]);

    LOCAL_ALIGNED(32, float, odst, [LEN]);

    int ret;



    memcpy(cdst, v1, LEN * sizeof(*v1));

    memcpy(odst, v1, LEN * sizeof(*v1));



    cdsp->vector_fmac_scalar(cdst, src0, scale, LEN);

    fdsp->vector_fmac_scalar(odst, src0, scale, LEN);



    if (ret = compare_floats(cdst, odst, LEN, ARBITRARY_FMAC_SCALAR_CONST))

        av_log(NULL, AV_LOG_ERROR, "vector_fmac_scalar failed\n");



    return ret;

}

static int FUNC_0(AVFloatDSPContext *VAR_0, AVFloatDSPContext *VAR_1,

                                   const float *VAR_2, const float *VAR_3, float VAR_4)

{

    LOCAL_ALIGNED(32, float, cdst, [LEN]);

    LOCAL_ALIGNED(32, float, odst, [LEN]);

    int VAR_5;



    memcpy(cdst, VAR_2, LEN * sizeof(*VAR_2));

    memcpy(odst, VAR_2, LEN * sizeof(*VAR_2));



    VAR_1->vector_fmac_scalar(cdst, VAR_3, VAR_4, LEN);

    VAR_0->vector_fmac_scalar(odst, VAR_3, VAR_4, LEN);



    if (VAR_5 = compare_floats(cdst, odst, LEN, ARBITRARY_FMAC_SCALAR_CONST))

        av_log(NULL, AV_LOG_ERROR, "vector_fmac_scalar failed\n");



    return VAR_5;

}

static int FUNC_0(AVFloatDSPContext *VAR_0, AVFloatDSPContext *VAR_1,
const float *VAR_2, const float *VAR_3, float VAR_4)
{ LOCAL_ALIGNED(32, float, cdst, [LEN]); LOCAL_ALIGNED(32, float, odst, [LEN]); int VAR_5; memcpy(cdst, VAR_2, LEN * sizeof(*VAR_2)); memcpy(odst, VAR_2, LEN * sizeof(*VAR_2)); VAR_1->vector_fmac_scalar(cdst, VAR_3, VAR_4, LEN); VAR_0->vector_fmac_scalar(odst, VAR_3, VAR_4, LEN); if (VAR_5 = compare_floats(cdst, odst, LEN, ARBITRARY_FMAC_SCALAR_CONST))
av_log(NULL, AV_LOG_ERROR, "vector_fmac_scalar failed\n"); return VAR_5; }