Commit 15da34da authored by Emmanuel Thomé's avatar Emmanuel Thomé

mpfq update

parent 56feacb5
......@@ -644,7 +644,7 @@ void * bl_prog(parallelizing_info_ptr pi, param_list pl, void * arg MAYBE_UNUSED
* A * V_n mcol->v
*/
AxA->dotprod(A->obj, A->obj, vav,
AxA->dotprod(A, A, vav,
mmt_my_own_subvec(bl->V[i0]),
mmt_my_own_subvec(bl->y),
mmt_my_own_size_in_items(bl->y));
......@@ -652,7 +652,7 @@ void * bl_prog(parallelizing_info_ptr pi, param_list pl, void * arg MAYBE_UNUSED
pi_allreduce(NULL, vav,
nelts_for_nnmat, bl->mmt->pitype, BWC_PI_SUM, pi->m);
AxA->dotprod(A->obj, A->obj, vaav,
AxA->dotprod(A, A, vaav,
mmt_my_own_subvec(bl->y),
mmt_my_own_subvec(bl->y),
mmt_my_own_size_in_items(bl->y));
......
......@@ -232,7 +232,7 @@ void * krylov_prog(parallelizing_info_ptr pi, param_list pl, void * arg MAYBE_UN
if (!bw->skip_online_checks) {
A->vec_set_zero(A, ahead, nchecks);
AxAc->dotprod(A->obj, Ac->obj, ahead,
AxAc->dotprod(A, Ac, ahead,
mmt_my_own_subvec(check_vector),
mmt_my_own_subvec(ymy[0]),
mmt_my_own_size_in_items(ymy[0]));
......
......@@ -329,7 +329,7 @@ void * mksol_prog(parallelizing_info_ptr pi, param_list pl, void * arg MAYBE_UNU
electric_free(test,rstride * abnbits(abase));
}
#endif
ArxA->transpose(Ar->obj, A->obj,
ArxA->transpose(Ar, A,
Ar->vec_subvec(Ar, fcoeffs[k], i * A->groupsize(A)),
ahead);
}
......@@ -363,7 +363,7 @@ void * mksol_prog(parallelizing_info_ptr pi, param_list pl, void * arg MAYBE_UNU
if (!bw->skip_online_checks) {
A->vec_set_zero(A, ahead, nchecks);
AxAc->dotprod(A->obj, Ac->obj, ahead,
AxAc->dotprod(A, Ac, ahead,
mmt_my_own_subvec(check_vector),
mmt_my_own_subvec(ymy[0]),
mmt_my_own_size_in_items(ymy[0]));
......@@ -389,7 +389,7 @@ void * mksol_prog(parallelizing_info_ptr pi, param_list pl, void * arg MAYBE_UNU
for(int i = 0 ; i < bw->interval ; i++) {
for(unsigned int k = 0 ; k < multi ; k++) {
AxAr->addmul_tiny(A->obj, Ar->obj,
AxAr->addmul_tiny(A, Ar,
sum[k],
mmt_my_own_subvec(ymy[0]),
Ar->vec_subvec(Ar, fcoeffs[k], i * A->groupsize(A)),
......
......@@ -446,9 +446,9 @@ void mpfq_p_1_dotprod(mpfq_p_1_dst_field, mpfq_p_1_dst_vec, mpfq_p_1_src_vec, mp
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_1_oo_field_init(mpfq_vbase_ptr);
static inline
void mpfq_p_1_oo_field_clear(mpfq_vbase_ptr);
void mpfq_p_1_oo_field_init(mpfq_vbase_ptr);
#ifdef __cplusplus
}
#endif
......
......@@ -446,9 +446,9 @@ void mpfq_p_10_dotprod(mpfq_p_10_dst_field, mpfq_p_10_dst_vec, mpfq_p_10_src_vec
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_10_oo_field_init(mpfq_vbase_ptr);
static inline
void mpfq_p_10_oo_field_clear(mpfq_vbase_ptr);
void mpfq_p_10_oo_field_init(mpfq_vbase_ptr);
#ifdef __cplusplus
}
#endif
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_10_p_10_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_10_dst_vec xw, mpfq_p_10_src_vec xu1, mpfq_p_10_src_vec xu0, unsigned int n)
{
mpfq_p_10_p_10_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_10_p_10_dotprod(mpfq_p_10_dst_field K0 MAYBE_UNUSED, mpfq_p_10_dst_field K1 MAYBE_UNUSED, mpfq_p_10_dst_vec xw, mpfq_p_10_src_vec xu1, mpfq_p_10_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_10_p_10_dotprod(mpfq_p_10_dst_field K0 MAYBE_UNUSED, mpfq_p_10_dst_f
mpfq_p_10_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_10_p_10_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_10_dst_vec w, mpfq_p_10_src_vec u, mpfq_p_10_dst_vec v, unsigned int n)
{
mpfq_p_10_p_10_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_10_p_10_addmul_tiny(mpfq_p_10_dst_field K MAYBE_UNUSED, mpfq_p_10_dst_field L MAYBE_UNUSED, mpfq_p_10_dst_vec w, mpfq_p_10_src_vec u, mpfq_p_10_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_10_p_10_addmul_tiny(mpfq_p_10_dst_field K MAYBE_UNUSED, mpfq_p_10_ds
mpfq_p_10_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_10_p_10_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_10_dst_vec w, mpfq_p_10_src_vec u)
{
mpfq_p_10_p_10_transpose(K->obj, L->obj, w, u);
}
/* *simd_gfp::code_for_member_template_transpose */
void mpfq_p_10_p_10_transpose(mpfq_p_10_dst_field K MAYBE_UNUSED, mpfq_p_10_dst_field L MAYBE_UNUSED, mpfq_p_10_dst_vec w, mpfq_p_10_src_vec u)
{
......
......@@ -121,8 +121,11 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_10_p_10_wrapper_dotprod(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_10_dst_vec, mpfq_p_10_src_vec, mpfq_p_10_src_vec, unsigned int);
void mpfq_p_10_p_10_dotprod(mpfq_p_10_dst_field, mpfq_p_10_dst_field, mpfq_p_10_dst_vec, mpfq_p_10_src_vec, mpfq_p_10_src_vec, unsigned int);
void mpfq_p_10_p_10_wrapper_addmul_tiny(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_10_dst_vec, mpfq_p_10_src_vec, mpfq_p_10_dst_vec, unsigned int);
void mpfq_p_10_p_10_addmul_tiny(mpfq_p_10_dst_field, mpfq_p_10_dst_field, mpfq_p_10_dst_vec, mpfq_p_10_src_vec, mpfq_p_10_dst_vec, unsigned int);
void mpfq_p_10_p_10_wrapper_transpose(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_10_dst_vec, mpfq_p_10_src_vec);
void mpfq_p_10_p_10_transpose(mpfq_p_10_dst_field, mpfq_p_10_dst_field, mpfq_p_10_dst_vec, mpfq_p_10_src_vec);
#endif /* MPFQ_P_10_T_H_ */
......
......@@ -446,9 +446,9 @@ void mpfq_p_11_dotprod(mpfq_p_11_dst_field, mpfq_p_11_dst_vec, mpfq_p_11_src_vec
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_11_oo_field_init(mpfq_vbase_ptr);
static inline
void mpfq_p_11_oo_field_clear(mpfq_vbase_ptr);
void mpfq_p_11_oo_field_init(mpfq_vbase_ptr);
#ifdef __cplusplus
}
#endif
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_11_p_11_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_11_dst_vec xw, mpfq_p_11_src_vec xu1, mpfq_p_11_src_vec xu0, unsigned int n)
{
mpfq_p_11_p_11_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_11_p_11_dotprod(mpfq_p_11_dst_field K0 MAYBE_UNUSED, mpfq_p_11_dst_field K1 MAYBE_UNUSED, mpfq_p_11_dst_vec xw, mpfq_p_11_src_vec xu1, mpfq_p_11_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_11_p_11_dotprod(mpfq_p_11_dst_field K0 MAYBE_UNUSED, mpfq_p_11_dst_f
mpfq_p_11_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_11_p_11_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_11_dst_vec w, mpfq_p_11_src_vec u, mpfq_p_11_dst_vec v, unsigned int n)
{
mpfq_p_11_p_11_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_11_p_11_addmul_tiny(mpfq_p_11_dst_field K MAYBE_UNUSED, mpfq_p_11_dst_field L MAYBE_UNUSED, mpfq_p_11_dst_vec w, mpfq_p_11_src_vec u, mpfq_p_11_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_11_p_11_addmul_tiny(mpfq_p_11_dst_field K MAYBE_UNUSED, mpfq_p_11_ds
mpfq_p_11_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_11_p_11_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_11_dst_vec w, mpfq_p_11_src_vec u)
{
mpfq_p_11_p_11_transpose(K->obj, L->obj, w, u);
}
/* *simd_gfp::code_for_member_template_transpose */
void mpfq_p_11_p_11_transpose(mpfq_p_11_dst_field K MAYBE_UNUSED, mpfq_p_11_dst_field L MAYBE_UNUSED, mpfq_p_11_dst_vec w, mpfq_p_11_src_vec u)
{
......
......@@ -121,8 +121,11 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_11_p_11_wrapper_dotprod(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_11_dst_vec, mpfq_p_11_src_vec, mpfq_p_11_src_vec, unsigned int);
void mpfq_p_11_p_11_dotprod(mpfq_p_11_dst_field, mpfq_p_11_dst_field, mpfq_p_11_dst_vec, mpfq_p_11_src_vec, mpfq_p_11_src_vec, unsigned int);
void mpfq_p_11_p_11_wrapper_addmul_tiny(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_11_dst_vec, mpfq_p_11_src_vec, mpfq_p_11_dst_vec, unsigned int);
void mpfq_p_11_p_11_addmul_tiny(mpfq_p_11_dst_field, mpfq_p_11_dst_field, mpfq_p_11_dst_vec, mpfq_p_11_src_vec, mpfq_p_11_dst_vec, unsigned int);
void mpfq_p_11_p_11_wrapper_transpose(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_11_dst_vec, mpfq_p_11_src_vec);
void mpfq_p_11_p_11_transpose(mpfq_p_11_dst_field, mpfq_p_11_dst_field, mpfq_p_11_dst_vec, mpfq_p_11_src_vec);
#endif /* MPFQ_P_11_T_H_ */
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_12_p_12_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_12_dst_vec xw, mpfq_p_12_src_vec xu1, mpfq_p_12_src_vec xu0, unsigned int n)
{
mpfq_p_12_p_12_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_12_p_12_dotprod(mpfq_p_12_dst_field K0 MAYBE_UNUSED, mpfq_p_12_dst_field K1 MAYBE_UNUSED, mpfq_p_12_dst_vec xw, mpfq_p_12_src_vec xu1, mpfq_p_12_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_12_p_12_dotprod(mpfq_p_12_dst_field K0 MAYBE_UNUSED, mpfq_p_12_dst_f
mpfq_p_12_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_12_p_12_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_12_dst_vec w, mpfq_p_12_src_vec u, mpfq_p_12_dst_vec v, unsigned int n)
{
mpfq_p_12_p_12_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_12_p_12_addmul_tiny(mpfq_p_12_dst_field K MAYBE_UNUSED, mpfq_p_12_dst_field L MAYBE_UNUSED, mpfq_p_12_dst_vec w, mpfq_p_12_src_vec u, mpfq_p_12_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_12_p_12_addmul_tiny(mpfq_p_12_dst_field K MAYBE_UNUSED, mpfq_p_12_ds
mpfq_p_12_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_12_p_12_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_12_dst_vec w, mpfq_p_12_src_vec u)
{
mpfq_p_12_p_12_transpose(K->obj, L->obj, w, u);
}
/* *simd_gfp::code_for_member_template_transpose */
void mpfq_p_12_p_12_transpose(mpfq_p_12_dst_field K MAYBE_UNUSED, mpfq_p_12_dst_field L MAYBE_UNUSED, mpfq_p_12_dst_vec w, mpfq_p_12_src_vec u)
{
......
......@@ -121,8 +121,11 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_12_p_12_wrapper_dotprod(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_12_dst_vec, mpfq_p_12_src_vec, mpfq_p_12_src_vec, unsigned int);
void mpfq_p_12_p_12_dotprod(mpfq_p_12_dst_field, mpfq_p_12_dst_field, mpfq_p_12_dst_vec, mpfq_p_12_src_vec, mpfq_p_12_src_vec, unsigned int);
void mpfq_p_12_p_12_wrapper_addmul_tiny(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_12_dst_vec, mpfq_p_12_src_vec, mpfq_p_12_dst_vec, unsigned int);
void mpfq_p_12_p_12_addmul_tiny(mpfq_p_12_dst_field, mpfq_p_12_dst_field, mpfq_p_12_dst_vec, mpfq_p_12_src_vec, mpfq_p_12_dst_vec, unsigned int);
void mpfq_p_12_p_12_wrapper_transpose(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_12_dst_vec, mpfq_p_12_src_vec);
void mpfq_p_12_p_12_transpose(mpfq_p_12_dst_field, mpfq_p_12_dst_field, mpfq_p_12_dst_vec, mpfq_p_12_src_vec);
#endif /* MPFQ_P_12_T_H_ */
......
......@@ -446,9 +446,9 @@ void mpfq_p_13_dotprod(mpfq_p_13_dst_field, mpfq_p_13_dst_vec, mpfq_p_13_src_vec
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_13_oo_field_init(mpfq_vbase_ptr);
static inline
void mpfq_p_13_oo_field_clear(mpfq_vbase_ptr);
void mpfq_p_13_oo_field_init(mpfq_vbase_ptr);
#ifdef __cplusplus
}
#endif
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_13_p_13_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_13_dst_vec xw, mpfq_p_13_src_vec xu1, mpfq_p_13_src_vec xu0, unsigned int n)
{
mpfq_p_13_p_13_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_13_p_13_dotprod(mpfq_p_13_dst_field K0 MAYBE_UNUSED, mpfq_p_13_dst_field K1 MAYBE_UNUSED, mpfq_p_13_dst_vec xw, mpfq_p_13_src_vec xu1, mpfq_p_13_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_13_p_13_dotprod(mpfq_p_13_dst_field K0 MAYBE_UNUSED, mpfq_p_13_dst_f
mpfq_p_13_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_13_p_13_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_13_dst_vec w, mpfq_p_13_src_vec u, mpfq_p_13_dst_vec v, unsigned int n)
{
mpfq_p_13_p_13_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_13_p_13_addmul_tiny(mpfq_p_13_dst_field K MAYBE_UNUSED, mpfq_p_13_dst_field L MAYBE_UNUSED, mpfq_p_13_dst_vec w, mpfq_p_13_src_vec u, mpfq_p_13_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_13_p_13_addmul_tiny(mpfq_p_13_dst_field K MAYBE_UNUSED, mpfq_p_13_ds
mpfq_p_13_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_13_p_13_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_13_dst_vec w, mpfq_p_13_src_vec u)
{
mpfq_p_13_p_13_transpose(K->obj, L->obj, w, u);
}
/* *simd_gfp::code_for_member_template_transpose */
void mpfq_p_13_p_13_transpose(mpfq_p_13_dst_field K MAYBE_UNUSED, mpfq_p_13_dst_field L MAYBE_UNUSED, mpfq_p_13_dst_vec w, mpfq_p_13_src_vec u)
{
......
......@@ -121,8 +121,11 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_13_p_13_wrapper_dotprod(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_13_dst_vec, mpfq_p_13_src_vec, mpfq_p_13_src_vec, unsigned int);
void mpfq_p_13_p_13_dotprod(mpfq_p_13_dst_field, mpfq_p_13_dst_field, mpfq_p_13_dst_vec, mpfq_p_13_src_vec, mpfq_p_13_src_vec, unsigned int);
void mpfq_p_13_p_13_wrapper_addmul_tiny(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_13_dst_vec, mpfq_p_13_src_vec, mpfq_p_13_dst_vec, unsigned int);
void mpfq_p_13_p_13_addmul_tiny(mpfq_p_13_dst_field, mpfq_p_13_dst_field, mpfq_p_13_dst_vec, mpfq_p_13_src_vec, mpfq_p_13_dst_vec, unsigned int);
void mpfq_p_13_p_13_wrapper_transpose(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_13_dst_vec, mpfq_p_13_src_vec);
void mpfq_p_13_p_13_transpose(mpfq_p_13_dst_field, mpfq_p_13_dst_field, mpfq_p_13_dst_vec, mpfq_p_13_src_vec);
#endif /* MPFQ_P_13_T_H_ */
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_14_p_14_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_14_dst_vec xw, mpfq_p_14_src_vec xu1, mpfq_p_14_src_vec xu0, unsigned int n)
{
mpfq_p_14_p_14_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_14_p_14_dotprod(mpfq_p_14_dst_field K0 MAYBE_UNUSED, mpfq_p_14_dst_field K1 MAYBE_UNUSED, mpfq_p_14_dst_vec xw, mpfq_p_14_src_vec xu1, mpfq_p_14_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_14_p_14_dotprod(mpfq_p_14_dst_field K0 MAYBE_UNUSED, mpfq_p_14_dst_f
mpfq_p_14_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_14_p_14_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_14_dst_vec w, mpfq_p_14_src_vec u, mpfq_p_14_dst_vec v, unsigned int n)
{
mpfq_p_14_p_14_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_14_p_14_addmul_tiny(mpfq_p_14_dst_field K MAYBE_UNUSED, mpfq_p_14_dst_field L MAYBE_UNUSED, mpfq_p_14_dst_vec w, mpfq_p_14_src_vec u, mpfq_p_14_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_14_p_14_addmul_tiny(mpfq_p_14_dst_field K MAYBE_UNUSED, mpfq_p_14_ds
mpfq_p_14_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_14_p_14_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_14_dst_vec w, mpfq_p_14_src_vec u)
{
mpfq_p_14_p_14_transpose(K->obj, L->obj, w, u);
}
/* *simd_gfp::code_for_member_template_transpose */
void mpfq_p_14_p_14_transpose(mpfq_p_14_dst_field K MAYBE_UNUSED, mpfq_p_14_dst_field L MAYBE_UNUSED, mpfq_p_14_dst_vec w, mpfq_p_14_src_vec u)
{
......
......@@ -121,8 +121,11 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_14_p_14_wrapper_dotprod(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_14_dst_vec, mpfq_p_14_src_vec, mpfq_p_14_src_vec, unsigned int);
void mpfq_p_14_p_14_dotprod(mpfq_p_14_dst_field, mpfq_p_14_dst_field, mpfq_p_14_dst_vec, mpfq_p_14_src_vec, mpfq_p_14_src_vec, unsigned int);
void mpfq_p_14_p_14_wrapper_addmul_tiny(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_14_dst_vec, mpfq_p_14_src_vec, mpfq_p_14_dst_vec, unsigned int);
void mpfq_p_14_p_14_addmul_tiny(mpfq_p_14_dst_field, mpfq_p_14_dst_field, mpfq_p_14_dst_vec, mpfq_p_14_src_vec, mpfq_p_14_dst_vec, unsigned int);
void mpfq_p_14_p_14_wrapper_transpose(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_14_dst_vec, mpfq_p_14_src_vec);
void mpfq_p_14_p_14_transpose(mpfq_p_14_dst_field, mpfq_p_14_dst_field, mpfq_p_14_dst_vec, mpfq_p_14_src_vec);
#endif /* MPFQ_P_14_T_H_ */
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_15_p_15_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_15_dst_vec xw, mpfq_p_15_src_vec xu1, mpfq_p_15_src_vec xu0, unsigned int n)
{
mpfq_p_15_p_15_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_15_p_15_dotprod(mpfq_p_15_dst_field K0 MAYBE_UNUSED, mpfq_p_15_dst_field K1 MAYBE_UNUSED, mpfq_p_15_dst_vec xw, mpfq_p_15_src_vec xu1, mpfq_p_15_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_15_p_15_dotprod(mpfq_p_15_dst_field K0 MAYBE_UNUSED, mpfq_p_15_dst_f
mpfq_p_15_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_15_p_15_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_15_dst_vec w, mpfq_p_15_src_vec u, mpfq_p_15_dst_vec v, unsigned int n)
{
mpfq_p_15_p_15_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_15_p_15_addmul_tiny(mpfq_p_15_dst_field K MAYBE_UNUSED, mpfq_p_15_dst_field L MAYBE_UNUSED, mpfq_p_15_dst_vec w, mpfq_p_15_src_vec u, mpfq_p_15_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_15_p_15_addmul_tiny(mpfq_p_15_dst_field K MAYBE_UNUSED, mpfq_p_15_ds
mpfq_p_15_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_15_p_15_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_15_dst_vec w, mpfq_p_15_src_vec u)
{
mpfq_p_15_p_15_transpose(K->obj, L->obj, w, u);
}
/* *simd_gfp::code_for_member_template_transpose */
void mpfq_p_15_p_15_transpose(mpfq_p_15_dst_field K MAYBE_UNUSED, mpfq_p_15_dst_field L MAYBE_UNUSED, mpfq_p_15_dst_vec w, mpfq_p_15_src_vec u)
{
......
......@@ -121,8 +121,11 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_15_p_15_wrapper_dotprod(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_15_dst_vec, mpfq_p_15_src_vec, mpfq_p_15_src_vec, unsigned int);
void mpfq_p_15_p_15_dotprod(mpfq_p_15_dst_field, mpfq_p_15_dst_field, mpfq_p_15_dst_vec, mpfq_p_15_src_vec, mpfq_p_15_src_vec, unsigned int);
void mpfq_p_15_p_15_wrapper_addmul_tiny(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_15_dst_vec, mpfq_p_15_src_vec, mpfq_p_15_dst_vec, unsigned int);
void mpfq_p_15_p_15_addmul_tiny(mpfq_p_15_dst_field, mpfq_p_15_dst_field, mpfq_p_15_dst_vec, mpfq_p_15_src_vec, mpfq_p_15_dst_vec, unsigned int);
void mpfq_p_15_p_15_wrapper_transpose(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_15_dst_vec, mpfq_p_15_src_vec);
void mpfq_p_15_p_15_transpose(mpfq_p_15_dst_field, mpfq_p_15_dst_field, mpfq_p_15_dst_vec, mpfq_p_15_src_vec);
#endif /* MPFQ_P_15_T_H_ */
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_1_p_1_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_1_dst_vec xw, mpfq_p_1_src_vec xu1, mpfq_p_1_src_vec xu0, unsigned int n)
{
mpfq_p_1_p_1_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_1_p_1_dotprod(mpfq_p_1_dst_field K0 MAYBE_UNUSED, mpfq_p_1_dst_field K1 MAYBE_UNUSED, mpfq_p_1_dst_vec xw, mpfq_p_1_src_vec xu1, mpfq_p_1_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_1_p_1_dotprod(mpfq_p_1_dst_field K0 MAYBE_UNUSED, mpfq_p_1_dst_field
mpfq_p_1_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_1_p_1_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_1_dst_vec w, mpfq_p_1_src_vec u, mpfq_p_1_dst_vec v, unsigned int n)
{
mpfq_p_1_p_1_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_1_p_1_addmul_tiny(mpfq_p_1_dst_field K MAYBE_UNUSED, mpfq_p_1_dst_field L MAYBE_UNUSED, mpfq_p_1_dst_vec w, mpfq_p_1_src_vec u, mpfq_p_1_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_1_p_1_addmul_tiny(mpfq_p_1_dst_field K MAYBE_UNUSED, mpfq_p_1_dst_fi
mpfq_p_1_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_1_p_1_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_1_dst_vec w, mpfq_p_1_src_vec u)
{
mpfq_p_1_p_1_transpose(K->obj, L->obj, w, u);
}
/* *simd_gfp::code_for_member_template_transpose */
void mpfq_p_1_p_1_transpose(mpfq_p_1_dst_field K MAYBE_UNUSED, mpfq_p_1_dst_field L MAYBE_UNUSED, mpfq_p_1_dst_vec w, mpfq_p_1_src_vec u)
{
......
......@@ -121,8 +121,11 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_1_p_1_wrapper_dotprod(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_1_dst_vec, mpfq_p_1_src_vec, mpfq_p_1_src_vec, unsigned int);
void mpfq_p_1_p_1_dotprod(mpfq_p_1_dst_field, mpfq_p_1_dst_field, mpfq_p_1_dst_vec, mpfq_p_1_src_vec, mpfq_p_1_src_vec, unsigned int);
void mpfq_p_1_p_1_wrapper_addmul_tiny(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_1_dst_vec, mpfq_p_1_src_vec, mpfq_p_1_dst_vec, unsigned int);
void mpfq_p_1_p_1_addmul_tiny(mpfq_p_1_dst_field, mpfq_p_1_dst_field, mpfq_p_1_dst_vec, mpfq_p_1_src_vec, mpfq_p_1_dst_vec, unsigned int);
void mpfq_p_1_p_1_wrapper_transpose(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_1_dst_vec, mpfq_p_1_src_vec);
void mpfq_p_1_p_1_transpose(mpfq_p_1_dst_field, mpfq_p_1_dst_field, mpfq_p_1_dst_vec, mpfq_p_1_src_vec);
#endif /* MPFQ_P_1_T_H_ */
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_2_p_2_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_2_dst_vec xw, mpfq_p_2_src_vec xu1, mpfq_p_2_src_vec xu0, unsigned int n)
{
mpfq_p_2_p_2_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_2_p_2_dotprod(mpfq_p_2_dst_field K0 MAYBE_UNUSED, mpfq_p_2_dst_field K1 MAYBE_UNUSED, mpfq_p_2_dst_vec xw, mpfq_p_2_src_vec xu1, mpfq_p_2_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_2_p_2_dotprod(mpfq_p_2_dst_field K0 MAYBE_UNUSED, mpfq_p_2_dst_field
mpfq_p_2_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_2_p_2_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_2_dst_vec w, mpfq_p_2_src_vec u, mpfq_p_2_dst_vec v, unsigned int n)
{
mpfq_p_2_p_2_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_2_p_2_addmul_tiny(mpfq_p_2_dst_field K MAYBE_UNUSED, mpfq_p_2_dst_field L MAYBE_UNUSED, mpfq_p_2_dst_vec w, mpfq_p_2_src_vec u, mpfq_p_2_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_2_p_2_addmul_tiny(mpfq_p_2_dst_field K MAYBE_UNUSED, mpfq_p_2_dst_fi
mpfq_p_2_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_2_p_2_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_2_dst_vec w, mpfq_p_2_src_vec u)
{
mpfq_p_2_p_2_transpose(K->obj, L->obj, w, u);
}
/* *simd_gfp::code_for_member_template_transpose */
void mpfq_p_2_p_2_transpose(mpfq_p_2_dst_field K MAYBE_UNUSED, mpfq_p_2_dst_field L MAYBE_UNUSED, mpfq_p_2_dst_vec w, mpfq_p_2_src_vec u)
{
......
......@@ -121,8 +121,11 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_2_p_2_wrapper_dotprod(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_2_dst_vec, mpfq_p_2_src_vec, mpfq_p_2_src_vec, unsigned int);
void mpfq_p_2_p_2_dotprod(mpfq_p_2_dst_field, mpfq_p_2_dst_field, mpfq_p_2_dst_vec, mpfq_p_2_src_vec, mpfq_p_2_src_vec, unsigned int);
void mpfq_p_2_p_2_wrapper_addmul_tiny(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_2_dst_vec, mpfq_p_2_src_vec, mpfq_p_2_dst_vec, unsigned int);
void mpfq_p_2_p_2_addmul_tiny(mpfq_p_2_dst_field, mpfq_p_2_dst_field, mpfq_p_2_dst_vec, mpfq_p_2_src_vec, mpfq_p_2_dst_vec, unsigned int);
void mpfq_p_2_p_2_wrapper_transpose(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_2_dst_vec, mpfq_p_2_src_vec);
void mpfq_p_2_p_2_transpose(mpfq_p_2_dst_field, mpfq_p_2_dst_field, mpfq_p_2_dst_vec, mpfq_p_2_src_vec);
#endif /* MPFQ_P_2_T_H_ */
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_3_p_3_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_3_dst_vec xw, mpfq_p_3_src_vec xu1, mpfq_p_3_src_vec xu0, unsigned int n)
{
mpfq_p_3_p_3_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_3_p_3_dotprod(mpfq_p_3_dst_field K0 MAYBE_UNUSED, mpfq_p_3_dst_field K1 MAYBE_UNUSED, mpfq_p_3_dst_vec xw, mpfq_p_3_src_vec xu1, mpfq_p_3_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_3_p_3_dotprod(mpfq_p_3_dst_field K0 MAYBE_UNUSED, mpfq_p_3_dst_field
mpfq_p_3_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_3_p_3_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_3_dst_vec w, mpfq_p_3_src_vec u, mpfq_p_3_dst_vec v, unsigned int n)
{
mpfq_p_3_p_3_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_3_p_3_addmul_tiny(mpfq_p_3_dst_field K MAYBE_UNUSED, mpfq_p_3_dst_field L MAYBE_UNUSED, mpfq_p_3_dst_vec w, mpfq_p_3_src_vec u, mpfq_p_3_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_3_p_3_addmul_tiny(mpfq_p_3_dst_field K MAYBE_UNUSED, mpfq_p_3_dst_fi
mpfq_p_3_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_3_p_3_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_3_dst_vec w, mpfq_p_3_src_vec u)
{
mpfq_p_3_p_3_transpose(K->obj, L->obj, w, u);
}
/* *simd_gfp::code_for_member_template_transpose */
void mpfq_p_3_p_3_transpose(mpfq_p_3_dst_field K MAYBE_UNUSED, mpfq_p_3_dst_field L MAYBE_UNUSED, mpfq_p_3_dst_vec w, mpfq_p_3_src_vec u)
{
......
......@@ -121,8 +121,11 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_3_p_3_wrapper_dotprod(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_3_dst_vec, mpfq_p_3_src_vec, mpfq_p_3_src_vec, unsigned int);
void mpfq_p_3_p_3_dotprod(mpfq_p_3_dst_field, mpfq_p_3_dst_field, mpfq_p_3_dst_vec, mpfq_p_3_src_vec, mpfq_p_3_src_vec, unsigned int);
void mpfq_p_3_p_3_wrapper_addmul_tiny(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_3_dst_vec, mpfq_p_3_src_vec, mpfq_p_3_dst_vec, unsigned int);
void mpfq_p_3_p_3_addmul_tiny(mpfq_p_3_dst_field, mpfq_p_3_dst_field, mpfq_p_3_dst_vec, mpfq_p_3_src_vec, mpfq_p_3_dst_vec, unsigned int);
void mpfq_p_3_p_3_wrapper_transpose(mpfq_vbase_ptr, mpfq_vbase_ptr, mpfq_p_3_dst_vec, mpfq_p_3_src_vec);
void mpfq_p_3_p_3_transpose(mpfq_p_3_dst_field, mpfq_p_3_dst_field, mpfq_p_3_dst_vec, mpfq_p_3_src_vec);
#endif /* MPFQ_P_3_T_H_ */
......
......@@ -446,9 +446,9 @@ void mpfq_p_4_dotprod(mpfq_p_4_dst_field, mpfq_p_4_dst_vec, mpfq_p_4_src_vec, mp
/* Member templates related to SIMD operation */
/* Object-oriented interface */
void mpfq_p_4_oo_field_init(mpfq_vbase_ptr);
static inline
void mpfq_p_4_oo_field_clear(mpfq_vbase_ptr);
void mpfq_p_4_oo_field_init(mpfq_vbase_ptr);
#ifdef __cplusplus
}
#endif
......
......@@ -120,6 +120,12 @@
/* Member templates related to SIMD operation */
/* Object-oriented interface */
/* Mpfq::engine::handler::create_code */
void mpfq_p_4_p_4_wrapper_dotprod(mpfq_vbase_ptr K0 MAYBE_UNUSED, mpfq_vbase_ptr K1 MAYBE_UNUSED, mpfq_p_4_dst_vec xw, mpfq_p_4_src_vec xu1, mpfq_p_4_src_vec xu0, unsigned int n)
{
mpfq_p_4_p_4_dotprod(K0->obj, K1->obj, xw, xu1, xu0, n);
}
/* *simd_gfp::code_for_member_template_dotprod */
void mpfq_p_4_p_4_dotprod(mpfq_p_4_dst_field K0 MAYBE_UNUSED, mpfq_p_4_dst_field K1 MAYBE_UNUSED, mpfq_p_4_dst_vec xw, mpfq_p_4_src_vec xu1, mpfq_p_4_src_vec xu0, unsigned int n)
{
......@@ -136,6 +142,12 @@ void mpfq_p_4_p_4_dotprod(mpfq_p_4_dst_field K0 MAYBE_UNUSED, mpfq_p_4_dst_field
mpfq_p_4_elt_ur_clear(K0, &t);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_4_p_4_wrapper_addmul_tiny(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_4_dst_vec w, mpfq_p_4_src_vec u, mpfq_p_4_dst_vec v, unsigned int n)
{
mpfq_p_4_p_4_addmul_tiny(K->obj, L->obj, w, u, v, n);
}
/* *simd_gfp::code_for_member_template_addmul_tiny */
void mpfq_p_4_p_4_addmul_tiny(mpfq_p_4_dst_field K MAYBE_UNUSED, mpfq_p_4_dst_field L MAYBE_UNUSED, mpfq_p_4_dst_vec w, mpfq_p_4_src_vec u, mpfq_p_4_dst_vec v, unsigned int n)
{
......@@ -148,6 +160,12 @@ void mpfq_p_4_p_4_addmul_tiny(mpfq_p_4_dst_field K MAYBE_UNUSED, mpfq_p_4_dst_fi
mpfq_p_4_clear(K, &s);
}
/* Mpfq::engine::handler::create_code */
void mpfq_p_4_p_4_wrapper_transpose(mpfq_vbase_ptr K MAYBE_UNUSED, mpfq_vbase_ptr L MAYBE_UNUSED, mpfq_p_4_dst_vec w, mpfq_p_4_src_vec u)
{
mpfq_p_4_p_4_transpose(K->obj, L->obj, w, u);
}