1
+ # Copyright (C) 2010-2022 Free Software Foundation, Inc.
2
+
3
+ # This file is part of GCC.
4
+
5
+ # GCC is free software; you can redistribute it and/or modify it under
6
+ # the terms of the GNU General Public License as published by the Free
7
+ # Software Foundation; either version 3, or (at your option) any
8
+ # later version.
9
+
10
+ # GCC is distributed in the hope that it will be useful, but WITHOUT
11
+ # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12
+ # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
13
+ # License for more details.
14
+
15
+ # You should have received a copy of the GNU General Public License
16
+ # along with GCC; see the file COPYING3. If not see
17
+ # <http://www.gnu.org/licenses/>.
18
+
1
19
dnl @synopsis GCC_AC_ENABLE_DECIMAL_FLOAT([target triplet])
2
20
dnl
3
21
dnl Enable C extension for decimal float if target supports it.
@@ -20,6 +38,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
20
38
] ,
21
39
[
22
40
case $1 in
41
+ aarch64* | \
23
42
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
24
43
i?86*-*-elfiamcu | i?86*-*-gnu* | x86_64*-*-gnu* | \
25
44
i?86*-*-mingw* | x86_64*-*-mingw* | \
@@ -37,7 +56,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
37
56
case x$enable_decimal_float in
38
57
xyes)
39
58
case $1 in
40
- i?86*-*-* | x86_64*-*-*)
59
+ aarch64* | i?86*-*-* | x86_64*-*-*)
41
60
enable_decimal_float=bid
42
61
;;
43
62
*)
0 commit comments