diff options
-rw-r--r-- | .gdbinit | 1 | ||||
-rw-r--r-- | mpn/generic/mu_bdiv_q.c | 1 | ||||
-rw-r--r-- | mpn/pa64/umul.asm | 1 | ||||
-rw-r--r-- | mpn/powerpc64/mode32/submul_1.asm | 1 | ||||
-rw-r--r-- | mpn/sparc64/sparc64.h | 2 | ||||
-rw-r--r-- | mpn/x86/pentium/mul_basecase.asm | 1 | ||||
-rw-r--r-- | mpn/x86_64/core2/aors_n.asm | 1 | ||||
-rw-r--r-- | mpn/x86_64/core2/lshift.asm | 30 | ||||
-rw-r--r-- | mpn/x86_64/core2/lshiftc.asm | 30 | ||||
-rw-r--r-- | mpn/x86_64/core2/rshift.asm | 30 | ||||
-rw-r--r-- | tests/cxx/t-ops2.h | 1 | ||||
-rw-r--r-- | tests/devel/sqrtrem_1_2.c | 2 | ||||
-rw-r--r-- | tests/mpf/t-cmp_si.c | 18 | ||||
-rw-r--r-- | tests/mpn/t-mod_1.c | 1 |
14 files changed, 55 insertions, 65 deletions
@@ -40,4 +40,3 @@ end define pf set __gmpf_dump ($) end - diff --git a/mpn/generic/mu_bdiv_q.c b/mpn/generic/mu_bdiv_q.c index d9ee4191b..0ef3bd818 100644 --- a/mpn/generic/mu_bdiv_q.c +++ b/mpn/generic/mu_bdiv_q.c @@ -279,4 +279,3 @@ mpn_mu_bdiv_q_itch (mp_size_t nn, mp_size_t dn) itch_binvert = mpn_binvert_itch (in); return in + MAX (itches, itch_binvert); } - diff --git a/mpn/pa64/umul.asm b/mpn/pa64/umul.asm index c3341ecfe..bd5a71f32 100644 --- a/mpn/pa64/umul.asm +++ b/mpn/pa64/umul.asm @@ -95,4 +95,3 @@ ifdef(`HAVE_ABI_2_0w', bve (%r2) ldo -128(%r30),%r30 EPILOGUE(mpn_umul_ppmm_r) - diff --git a/mpn/powerpc64/mode32/submul_1.asm b/mpn/powerpc64/mode32/submul_1.asm index 22601c417..996eda2d5 100644 --- a/mpn/powerpc64/mode32/submul_1.asm +++ b/mpn/powerpc64/mode32/submul_1.asm @@ -79,4 +79,3 @@ L(oop): ldu r0, 8(r4) srdi r3, r4, 32 blr EPILOGUE() - diff --git a/mpn/sparc64/sparc64.h b/mpn/sparc64/sparc64.h index 09fc16d46..8698a82a7 100644 --- a/mpn/sparc64/sparc64.h +++ b/mpn/sparc64/sparc64.h @@ -215,5 +215,3 @@ Error, error, unknown limb endianness; (r) = _r; \ (q) = _q; \ } while (0) - - diff --git a/mpn/x86/pentium/mul_basecase.asm b/mpn/x86/pentium/mul_basecase.asm index 50e15d356..e1d0f0526 100644 --- a/mpn/x86/pentium/mul_basecase.asm +++ b/mpn/x86/pentium/mul_basecase.asm @@ -140,4 +140,3 @@ L(done): ret EPILOGUE() - diff --git a/mpn/x86_64/core2/aors_n.asm b/mpn/x86_64/core2/aors_n.asm index d057b03f5..f9e003987 100644 --- a/mpn/x86_64/core2/aors_n.asm +++ b/mpn/x86_64/core2/aors_n.asm @@ -148,4 +148,3 @@ PROLOGUE(func_nc) IFDOS(` mov 56(%rsp), %r8 ') jmp L(start) EPILOGUE() - diff --git a/mpn/x86_64/core2/lshift.asm b/mpn/x86_64/core2/lshift.asm index 48341fc90..9016a71ff 100644 --- a/mpn/x86_64/core2/lshift.asm +++ b/mpn/x86_64/core2/lshift.asm @@ -31,26 +31,26 @@ dnl see https://www.gnu.org/licenses/. include(`../config.m4') C cycles/limb -C AMD K8,K9 -C AMD K10 -C AMD bd1 -C AMD bd2 +C AMD K8,K9 +C AMD K10 +C AMD bd1 +C AMD bd2 C AMD bd3 C AMD bd4 C AMD zen -C AMD bobcat -C AMD jaguar -C Intel P4 +C AMD bobcat +C AMD jaguar +C Intel P4 C Intel core2 1.32 C Intel NHM 1.30 (drops to 2.5 for n > 256) -C Intel SBR -C Intel IBR -C Intel HWL -C Intel BWL -C Intel SKL -C Intel atom -C Intel SLM -C VIA nano +C Intel SBR +C Intel IBR +C Intel HWL +C Intel BWL +C Intel SKL +C Intel atom +C Intel SLM +C VIA nano C INPUT PARAMETERS define(`rp', `%rdi') diff --git a/mpn/x86_64/core2/lshiftc.asm b/mpn/x86_64/core2/lshiftc.asm index fe781913b..c428f13ca 100644 --- a/mpn/x86_64/core2/lshiftc.asm +++ b/mpn/x86_64/core2/lshiftc.asm @@ -31,26 +31,26 @@ dnl see https://www.gnu.org/licenses/. include(`../config.m4') C cycles/limb -C AMD K8,K9 -C AMD K10 -C AMD bd1 -C AMD bd2 +C AMD K8,K9 +C AMD K10 +C AMD bd1 +C AMD bd2 C AMD bd3 C AMD bd4 C AMD zen -C AMD bobcat -C AMD jaguar -C Intel P4 +C AMD bobcat +C AMD jaguar +C Intel P4 C Intel core2 1.52 C Intel NHM 1.78 (just 2.15 for n < 256) -C Intel SBR -C Intel IBR -C Intel HWL -C Intel BWL -C Intel SKL -C Intel atom -C Intel SLM -C VIA nano +C Intel SBR +C Intel IBR +C Intel HWL +C Intel BWL +C Intel SKL +C Intel atom +C Intel SLM +C VIA nano C INPUT PARAMETERS define(`rp', `%rdi') diff --git a/mpn/x86_64/core2/rshift.asm b/mpn/x86_64/core2/rshift.asm index a705d95bb..7578a5349 100644 --- a/mpn/x86_64/core2/rshift.asm +++ b/mpn/x86_64/core2/rshift.asm @@ -31,26 +31,26 @@ dnl see https://www.gnu.org/licenses/. include(`../config.m4') C cycles/limb -C AMD K8,K9 -C AMD K10 -C AMD bd1 -C AMD bd2 +C AMD K8,K9 +C AMD K10 +C AMD bd1 +C AMD bd2 C AMD bd3 C AMD bd4 C AMD zen -C AMD bobcat -C AMD jaguar -C Intel P4 +C AMD bobcat +C AMD jaguar +C Intel P4 C Intel core2 1.32 C Intel NHM 1.30 (drops to 2.5 for n > 256) -C Intel SBR -C Intel IBR -C Intel HWL -C Intel BWL -C Intel SKL -C Intel atom -C Intel SLM -C VIA nano +C Intel SBR +C Intel IBR +C Intel HWL +C Intel BWL +C Intel SKL +C Intel atom +C Intel SLM +C VIA nano C INPUT PARAMETERS define(`rp', `%rdi') diff --git a/tests/cxx/t-ops2.h b/tests/cxx/t-ops2.h index a2a82150c..f8898eef9 100644 --- a/tests/cxx/t-ops2.h +++ b/tests/cxx/t-ops2.h @@ -80,4 +80,3 @@ the GNU MP Library test suite. If not, see https://www.gnu.org/licenses/. */ CHECK_ALL(Type,a,b,>=); \ CHECK_ALL(Type,a,b,==); \ CHECK_ALL(Type,a,b,!=) - diff --git a/tests/devel/sqrtrem_1_2.c b/tests/devel/sqrtrem_1_2.c index 3628b402e..39511913c 100644 --- a/tests/devel/sqrtrem_1_2.c +++ b/tests/devel/sqrtrem_1_2.c @@ -220,7 +220,7 @@ check_some_values (int justone, int quick) SPINNER(2); printf ("\nValues with at most a limb for reminder, tested.\n"); er = GMP_NUMB_MAX; her = 0; - + printf ("High-half values tested, up to bits:\n"); do { x = mpn_sqrtrem (s, r, q, 2); diff --git a/tests/mpf/t-cmp_si.c b/tests/mpf/t-cmp_si.c index d080db3b5..29f7cdbaf 100644 --- a/tests/mpf/t-cmp_si.c +++ b/tests/mpf/t-cmp_si.c @@ -106,16 +106,16 @@ check_data (void) got = mpf_cmp_z (a, bz); if (SGN (got) != data[i].want) - { + { b = mpz_get_si (bz); - printf ("mpf_cmp_z wrong on data[%d]\n", i); - printf (" a="); mpf_out_str (stdout, 10, 0, a); - printf (" (%s)\n", data[i].a); - printf (" b=%ld (%s)\n", b, data[i].b); - printf (" got=%d\n", got); - printf (" want=%d\n", data[i].want); - abort(); - } + printf ("mpf_cmp_z wrong on data[%d]\n", i); + printf (" a="); mpf_out_str (stdout, 10, 0, a); + printf (" (%s)\n", data[i].a); + printf (" b=%ld (%s)\n", b, data[i].b); + printf (" got=%d\n", got); + printf (" want=%d\n", data[i].want); + abort(); + } } mpf_clear (a); diff --git a/tests/mpn/t-mod_1.c b/tests/mpn/t-mod_1.c index 80927dc63..5b9570d45 100644 --- a/tests/mpn/t-mod_1.c +++ b/tests/mpn/t-mod_1.c @@ -125,4 +125,3 @@ main (int argc, char **argv) tests_end (); return 0; } - |