From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1652) id 6C6113857820; Fri, 20 May 2022 07:31:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C6113857820 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Christophe Lyon To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-679] aarch64: Enable DFP (Decimal Floating-point) (BID format) X-Act-Checkin: gcc X-Git-Author: Christophe Lyon X-Git-Refname: refs/heads/master X-Git-Oldrev: 6865c9599f6cfe29ec05963d40916c20ed38029c X-Git-Newrev: afd82c104b1038572ed4d473a0b5f6e2c778fa01 Message-Id: <20220520073144.6C6113857820@sourceware.org> Date: Fri, 20 May 2022 07:31:44 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2022 07:31:44 -0000 https://gcc.gnu.org/g:afd82c104b1038572ed4d473a0b5f6e2c778fa01 commit r13-679-gafd82c104b1038572ed4d473a0b5f6e2c778fa01 Author: Christophe Lyon Date: Wed Mar 9 14:27:10 2022 +0000 aarch64: Enable DFP (Decimal Floating-point) (BID format) This patch enables DFP support on aarch64, by updating config/dfp.m4 and regenerating the involved configure scripts. We enable the BID format. 2022-03-31 Christophe Lyon config/ * dfp.m4: Add aarch64 support. gcc/ * configure: Regenerate. libdecnumber/ * configure: Regenerate. libgcc/ * configure: Regenerate. Diff: --- config/dfp.m4 | 3 ++- gcc/configure | 3 ++- libdecnumber/configure | 3 ++- libgcc/configure | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/config/dfp.m4 b/config/dfp.m4 index 5b6a3f9d114..d1d151b2da7 100644 --- a/config/dfp.m4 +++ b/config/dfp.m4 @@ -38,6 +38,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;; ], [ case $1 in + aarch64* | \ powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \ i?86*-*-elfiamcu | i?86*-*-gnu* | x86_64*-*-gnu* | \ i?86*-*-mingw* | x86_64*-*-mingw* | \ @@ -55,7 +56,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;; case x$enable_decimal_float in xyes) case $1 in - i?86*-*-* | x86_64*-*-*) + aarch64* | i?86*-*-* | x86_64*-*-*) enable_decimal_float=bid ;; *) diff --git a/gcc/configure b/gcc/configure index 5ce0557719a..37e0dd5e414 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7896,6 +7896,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;; else case $target in + aarch64* | \ powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \ i?86*-*-elfiamcu | i?86*-*-gnu* | x86_64*-*-gnu* | \ i?86*-*-mingw* | x86_64*-*-mingw* | \ @@ -7916,7 +7917,7 @@ fi case x$enable_decimal_float in xyes) case $target in - i?86*-*-* | x86_64*-*-*) + aarch64* | i?86*-*-* | x86_64*-*-*) enable_decimal_float=bid ;; *) diff --git a/libdecnumber/configure b/libdecnumber/configure index da5302f9315..fb6db05565a 100755 --- a/libdecnumber/configure +++ b/libdecnumber/configure @@ -4903,6 +4903,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;; else case $target in + aarch64* | \ powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \ i?86*-*-elfiamcu | i?86*-*-gnu* | x86_64*-*-gnu* | \ i?86*-*-mingw* | x86_64*-*-mingw* | \ @@ -4923,7 +4924,7 @@ fi case x$enable_decimal_float in xyes) case $target in - i?86*-*-* | x86_64*-*-*) + aarch64* | i?86*-*-* | x86_64*-*-*) enable_decimal_float=bid ;; *) diff --git a/libgcc/configure b/libgcc/configure index 1f9b2ac578b..61f3ace2891 100755 --- a/libgcc/configure +++ b/libgcc/configure @@ -4771,6 +4771,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;; else case $host in + aarch64* | \ powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \ i?86*-*-elfiamcu | i?86*-*-gnu* | x86_64*-*-gnu* | \ i?86*-*-mingw* | x86_64*-*-mingw* | \ @@ -4791,7 +4792,7 @@ fi case x$enable_decimal_float in xyes) case $host in - i?86*-*-* | x86_64*-*-*) + aarch64* | i?86*-*-* | x86_64*-*-*) enable_decimal_float=bid ;; *)