From ea6884981323f333ad0b5a9acf87117e2dcc34b0 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sun, 31 Jul 2016 15:36:41 +0900 Subject: [PATCH] change message --- test/fp_generator_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/fp_generator_test.cpp b/test/fp_generator_test.cpp index dcc48a4..2e4e203 100644 --- a/test/fp_generator_test.cpp +++ b/test/fp_generator_test.cpp @@ -140,6 +140,7 @@ void testNeg(const mcl::fp::Op& op) void testMulI(const mcl::fp::FpGenerator& fg, int pn) { cybozu::XorShift rg; +printf("pn=%d, %p\n", pn, fg.mul_Unit_); for (int i = 0; i < 100; i++) { uint64_t x[MAX_N]; uint64_t z[MAX_N + 1]; @@ -183,6 +184,7 @@ void testShr1(const mcl::fp::FpGenerator& fg, int pn) void test(const char *pStr) { + printf("test %s\n", pStr); Fp::init(pStr, mcl::fp::FP_XBYAK); const mcl::fp::Op& op = Fp::getOp(); const int pn = (int)op.N; @@ -195,7 +197,6 @@ void test(const char *pStr) CYBOZU_TEST_AUTO(all) { for (size_t i = 0; i < CYBOZU_NUM_OF_ARRAY(primeTable); i++) { - printf("test prime i=%d\n", (int)i); test(primeTable[i]); } }