[Gmp-commit] /var/hg/gmp-6.2: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Sat Jun 27 07:46:42 UTC 2020


details:   /var/hg/gmp-6.2/rev/b53bc0679617
changeset: 18067:b53bc0679617
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sat Jun 27 09:45:02 2020 +0200
description:
ChangeLog

details:   /var/hg/gmp-6.2/rev/3cdde51bc5d4
changeset: 18068:3cdde51bc5d4
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sat Jun 27 09:46:38 2020 +0200
description:
Replace old copyright headers to agree with current GMP license terms.

diffstat:

 ChangeLog                            |  16 +++++++++++++++-
 mpn/arm64/lshift.asm                 |  31 +++++++++++++++++++++----------
 mpn/arm64/lshiftc.asm                |  31 +++++++++++++++++++++----------
 mpn/arm64/rshift.asm                 |  31 +++++++++++++++++++++----------
 mpn/powerpc64/mode64/p9/addmul_2.asm |  31 +++++++++++++++++++++----------
 mpn/powerpc64/mode64/p9/mul_2.asm    |  31 +++++++++++++++++++++----------
 6 files changed, 120 insertions(+), 51 deletions(-)

diffs (245 lines):

diff -r 1745d66e4755 -r 3cdde51bc5d4 ChangeLog
--- a/ChangeLog	Sun Jun 21 12:16:12 2020 +0200
+++ b/ChangeLog	Sat Jun 27 09:46:38 2020 +0200
@@ -1,6 +1,20 @@
+2020-06-20  Torbjörn Granlund  <tg at gmplib.org>
+
+	* longlong.h (add_sssaaaa arm32/arm64): Generalise allowed operands
+	when using adds for sub and subs for add, while disallowing 0.
+	(sub_ddmmss ppc64): Disallow 0 when using addic.  Also disallow
+	constants for register-only middle addic operand.
+	(C add_sssaaaa and sub_ddmmss): Use more temps to make operation more
+	well-defined.
+
+2020-06-18  Torbjörn Granlund  <tg at gmplib.org>
+
+	* tests/devel/gen-test-longlong_h.c: New file.
+	* tests/devel/Makefile.am: Compile and use gen-test-longlong_h.c.
+
 2020-06-10  Torbjörn Granlund  <tg at gmplib.org>
 
-	* configure.ac: Recognise armcortexa53.
+	* configure.ac: Recognise armcortexa55.
 
 2020-05-25  Torbjörn Granlund  <tg at gmplib.org>
 
diff -r 1745d66e4755 -r 3cdde51bc5d4 mpn/arm64/lshift.asm
--- a/mpn/arm64/lshift.asm	Sun Jun 21 12:16:12 2020 +0200
+++ b/mpn/arm64/lshift.asm	Sat Jun 27 09:46:38 2020 +0200
@@ -3,19 +3,30 @@
 dnl  Copyright 2013, 2014, 2017 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
-
+dnl
 dnl  The GNU MP Library is free software; you can redistribute it and/or modify
-dnl  it under the terms of the GNU Lesser General Public License as published
-dnl  by the Free Software Foundation; either version 3 of the License, or (at
-dnl  your option) any later version.
-
+dnl  it under the terms of either:
+dnl
+dnl    * the GNU Lesser General Public License as published by the Free
+dnl      Software Foundation; either version 3 of the License, or (at your
+dnl      option) any later version.
+dnl
+dnl  or
+dnl
+dnl    * the GNU General Public License as published by the Free Software
+dnl      Foundation; either version 2 of the License, or (at your option) any
+dnl      later version.
+dnl
+dnl  or both in parallel, as here.
+dnl
 dnl  The GNU MP Library is distributed in the hope that it will be useful, but
 dnl  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
-dnl  License for more details.
-
-dnl  You should have received a copy of the GNU Lesser General Public License
-dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
+dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+dnl  for more details.
+dnl
+dnl  You should have received copies of the GNU General Public License and the
+dnl  GNU Lesser General Public License along with the GNU MP Library.  If not,
+dnl  see https://www.gnu.org/licenses/.
 
 include(`../config.m4')
 
diff -r 1745d66e4755 -r 3cdde51bc5d4 mpn/arm64/lshiftc.asm
--- a/mpn/arm64/lshiftc.asm	Sun Jun 21 12:16:12 2020 +0200
+++ b/mpn/arm64/lshiftc.asm	Sat Jun 27 09:46:38 2020 +0200
@@ -3,19 +3,30 @@
 dnl  Copyright 2013, 2014, 2017 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
-
+dnl
 dnl  The GNU MP Library is free software; you can redistribute it and/or modify
-dnl  it under the terms of the GNU Lesser General Public License as published
-dnl  by the Free Software Foundation; either version 3 of the License, or (at
-dnl  your option) any later version.
-
+dnl  it under the terms of either:
+dnl
+dnl    * the GNU Lesser General Public License as published by the Free
+dnl      Software Foundation; either version 3 of the License, or (at your
+dnl      option) any later version.
+dnl
+dnl  or
+dnl
+dnl    * the GNU General Public License as published by the Free Software
+dnl      Foundation; either version 2 of the License, or (at your option) any
+dnl      later version.
+dnl
+dnl  or both in parallel, as here.
+dnl
 dnl  The GNU MP Library is distributed in the hope that it will be useful, but
 dnl  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
-dnl  License for more details.
-
-dnl  You should have received a copy of the GNU Lesser General Public License
-dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
+dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+dnl  for more details.
+dnl
+dnl  You should have received copies of the GNU General Public License and the
+dnl  GNU Lesser General Public License along with the GNU MP Library.  If not,
+dnl  see https://www.gnu.org/licenses/.
 
 include(`../config.m4')
 
diff -r 1745d66e4755 -r 3cdde51bc5d4 mpn/arm64/rshift.asm
--- a/mpn/arm64/rshift.asm	Sun Jun 21 12:16:12 2020 +0200
+++ b/mpn/arm64/rshift.asm	Sat Jun 27 09:46:38 2020 +0200
@@ -3,19 +3,30 @@
 dnl  Copyright 2013, 2014, 2017 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
-
+dnl
 dnl  The GNU MP Library is free software; you can redistribute it and/or modify
-dnl  it under the terms of the GNU Lesser General Public License as published
-dnl  by the Free Software Foundation; either version 3 of the License, or (at
-dnl  your option) any later version.
-
+dnl  it under the terms of either:
+dnl
+dnl    * the GNU Lesser General Public License as published by the Free
+dnl      Software Foundation; either version 3 of the License, or (at your
+dnl      option) any later version.
+dnl
+dnl  or
+dnl
+dnl    * the GNU General Public License as published by the Free Software
+dnl      Foundation; either version 2 of the License, or (at your option) any
+dnl      later version.
+dnl
+dnl  or both in parallel, as here.
+dnl
 dnl  The GNU MP Library is distributed in the hope that it will be useful, but
 dnl  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
-dnl  License for more details.
-
-dnl  You should have received a copy of the GNU Lesser General Public License
-dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
+dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+dnl  for more details.
+dnl
+dnl  You should have received copies of the GNU General Public License and the
+dnl  GNU Lesser General Public License along with the GNU MP Library.  If not,
+dnl  see https://www.gnu.org/licenses/.
 
 include(`../config.m4')
 
diff -r 1745d66e4755 -r 3cdde51bc5d4 mpn/powerpc64/mode64/p9/addmul_2.asm
--- a/mpn/powerpc64/mode64/p9/addmul_2.asm	Sun Jun 21 12:16:12 2020 +0200
+++ b/mpn/powerpc64/mode64/p9/addmul_2.asm	Sat Jun 27 09:46:38 2020 +0200
@@ -5,19 +5,30 @@
 dnl  Copyright 2018 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
-
+dnl
 dnl  The GNU MP Library is free software; you can redistribute it and/or modify
-dnl  it under the terms of the GNU Lesser General Public License as published
-dnl  by the Free Software Foundation; either version 3 of the License, or (at
-dnl  your option) any later version.
-
+dnl  it under the terms of either:
+dnl
+dnl    * the GNU Lesser General Public License as published by the Free
+dnl      Software Foundation; either version 3 of the License, or (at your
+dnl      option) any later version.
+dnl
+dnl  or
+dnl
+dnl    * the GNU General Public License as published by the Free Software
+dnl      Foundation; either version 2 of the License, or (at your option) any
+dnl      later version.
+dnl
+dnl  or both in parallel, as here.
+dnl
 dnl  The GNU MP Library is distributed in the hope that it will be useful, but
 dnl  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
-dnl  License for more details.
-
-dnl  You should have received a copy of the GNU Lesser General Public License
-dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
+dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+dnl  for more details.
+dnl
+dnl  You should have received copies of the GNU General Public License and the
+dnl  GNU Lesser General Public License along with the GNU MP Library.  If not,
+dnl  see https://www.gnu.org/licenses/.
 
 include(`../config.m4')
 
diff -r 1745d66e4755 -r 3cdde51bc5d4 mpn/powerpc64/mode64/p9/mul_2.asm
--- a/mpn/powerpc64/mode64/p9/mul_2.asm	Sun Jun 21 12:16:12 2020 +0200
+++ b/mpn/powerpc64/mode64/p9/mul_2.asm	Sat Jun 27 09:46:38 2020 +0200
@@ -5,19 +5,30 @@
 dnl  Copyright 2018 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
-
+dnl
 dnl  The GNU MP Library is free software; you can redistribute it and/or modify
-dnl  it under the terms of the GNU Lesser General Public License as published
-dnl  by the Free Software Foundation; either version 3 of the License, or (at
-dnl  your option) any later version.
-
+dnl  it under the terms of either:
+dnl
+dnl    * the GNU Lesser General Public License as published by the Free
+dnl      Software Foundation; either version 3 of the License, or (at your
+dnl      option) any later version.
+dnl
+dnl  or
+dnl
+dnl    * the GNU General Public License as published by the Free Software
+dnl      Foundation; either version 2 of the License, or (at your option) any
+dnl      later version.
+dnl
+dnl  or both in parallel, as here.
+dnl
 dnl  The GNU MP Library is distributed in the hope that it will be useful, but
 dnl  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
-dnl  License for more details.
-
-dnl  You should have received a copy of the GNU Lesser General Public License
-dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
+dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+dnl  for more details.
+dnl
+dnl  You should have received copies of the GNU General Public License and the
+dnl  GNU Lesser General Public License along with the GNU MP Library.  If not,
+dnl  see https://www.gnu.org/licenses/.
 
 include(`../config.m4')
 



More information about the gmp-commit mailing list