Skip to content

Commit

Permalink
add bench of Fp::inv in msm_vax
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Oct 24, 2024
1 parent a44d7d6 commit 7db1696
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/msm_avx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1857,6 +1857,11 @@ CYBOZU_TEST_AUTO(vaddPre)
CYBOZU_BENCH_C("vmul::VecA", C/10, vmul<VmaskA>, za.v, za.v, xa.v);
CYBOZU_BENCH_C("FpM::inv", C/100, FpM::inv, z[0], z[0]);
CYBOZU_BENCH_C("FpMA::inv", C/100, FpMA::inv, za, za);
{
mcl::bn::Fp vv[8*vN];
za.getFpA((mcl::msm::FpA*)vv);
CYBOZU_BENCH_C("Fp::inv(8)", C/100, mcl::invVec<mcl::bn::Fp>, vv, vv, 8*vN);
}
forcedRead(z);
forcedRead(za);
#endif
Expand Down

0 comments on commit 7db1696

Please sign in to comment.