* [PATCH] Decimal Floating-Point (libbid) for GNU/Hurd
@ 2012-06-16 14:36 Thomas Schwinge
2012-06-16 14:43 ` H.J. Lu
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Schwinge @ 2012-06-16 14:36 UTC (permalink / raw)
To: decimalfp, gcc-patches; +Cc: hongjiu.lu
Hi!
Intel folks, the bid_functions.h change is for you, that one plus the
other changes are for GCC.
libgcc/config/libbid/
* bid_functions.h: Check for __GLIBC__ additionally to LINUX when
defining format specifiers.
config/
* dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*.
gcc/
* configure: Regenerate.
libdecnumber/
* configure: Regenerate.
libgcc/
* configure: Regenerate.
OK to check in?
GrüÃe,
Thomas
---
config/dfp.m4 | 1 +
gcc/configure | 5 +++--
libdecnumber/configure | 1 +
libgcc/config/libbid/bid_functions.h | 4 ++--
libgcc/configure | 1 +
5 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/config/dfp.m4 b/config/dfp.m4
index cc778b1..e971db4 100644
--- a/config/dfp.m4
+++ b/config/dfp.m4
@@ -21,6 +21,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
[
case $1 in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
+ i?86*-*-gnu* | \
i?86*-*-mingw* | x86_64*-*-mingw* | \
i?86*-*-cygwin*)
enable_decimal_float=yes
diff --git a/gcc/configure b/gcc/configure
index 1fdf0af..3fea751 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -7053,6 +7053,7 @@ else
case $target in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
+ i?86*-*-gnu* | \
i?86*-*-mingw* | x86_64*-*-mingw* | \
i?86*-*-cygwin*)
enable_decimal_float=yes
@@ -17971,7 +17972,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 17974 "configure"
+#line 17975 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -18077,7 +18078,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 18080 "configure"
+#line 18081 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/libdecnumber/configure b/libdecnumber/configure
index 2b58684..0466371 100755
--- a/libdecnumber/configure
+++ b/libdecnumber/configure
@@ -4611,6 +4611,7 @@ else
case $target in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
+ i?86*-*-gnu* | \
i?86*-*-mingw* | x86_64*-*-mingw* | \
i?86*-*-cygwin*)
enable_decimal_float=yes
diff --git a/libgcc/config/libbid/bid_functions.h b/libgcc/config/libbid/bid_functions.h
index 579370a..abb27b9 100644
--- a/libgcc/config/libbid/bid_functions.h
+++ b/libgcc/config/libbid/bid_functions.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2007, 2009, 2011 Free Software Foundation, Inc.
This file is part of GCC.
@@ -124,7 +124,7 @@ ALIGN (16)
#define DENORMAL_MODE 0x00000100
#define INVALID_MODE 0x00000080
-#if defined LINUX || defined SUNOS
+#if defined LINUX || defined __GLIBC__ || defined SUNOS
#define LX16 "%016llx"
#define LX "%llx"
#define LD4 "%4llu"
diff --git a/libgcc/configure b/libgcc/configure
index a226f81..e645378 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -4075,6 +4075,7 @@ else
case $host in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
+ i?86*-*-gnu* | \
i?86*-*-mingw* | x86_64*-*-mingw* | \
i?86*-*-cygwin*)
enable_decimal_float=yes
--
tg: (c5acd2b..) hurd/decimal_floating_point (depends on: baseline)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Decimal Floating-Point (libbid) for GNU/Hurd
2012-06-16 14:36 [PATCH] Decimal Floating-Point (libbid) for GNU/Hurd Thomas Schwinge
@ 2012-06-16 14:43 ` H.J. Lu
2012-07-23 16:45 ` decimalfp
0 siblings, 1 reply; 4+ messages in thread
From: H.J. Lu @ 2012-06-16 14:43 UTC (permalink / raw)
To: Thomas Schwinge; +Cc: decimalfp, gcc-patches
On Sat, Jun 16, 2012 at 7:32 AM, Thomas Schwinge
<thomas@codesourcery.com> wrote:
> Hi!
>
> Intel folks, the bid_functions.h change is for you, that one plus the
> other changes are for GCC.
>
> libgcc/config/libbid/
> * bid_functions.h: Check for __GLIBC__ additionally to LINUX when
> defining format specifiers.
>
Looks OK to me.
Thanks.
--
H.J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] Decimal Floating-Point (libbid) for GNU/Hurd
2012-06-16 14:43 ` H.J. Lu
@ 2012-07-23 16:45 ` decimalfp
2012-11-04 23:10 ` Thomas Schwinge
0 siblings, 1 reply; 4+ messages in thread
From: decimalfp @ 2012-07-23 16:45 UTC (permalink / raw)
To: Thomas Schwinge; +Cc: decimalfp, gcc-patches, H.J. Lu
Hello Thomas,
Just a follow-up - have those changes been made?
Thank you,
Marius Cornea
-----Original Message-----
From: H.J. Lu [mailto:hjl.tools@gmail.com]
Sent: Saturday, June 16, 2012 7:35 AM
To: Thomas Schwinge
Cc: decimalfp; gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Decimal Floating-Point (libbid) for GNU/Hurd
On Sat, Jun 16, 2012 at 7:32 AM, Thomas Schwinge <thomas@codesourcery.com> wrote:
> Hi!
>
> Intel folks, the bid_functions.h change is for you, that one plus the
> other changes are for GCC.
>
> libgcc/config/libbid/
> * bid_functions.h: Check for __GLIBC__ additionally to LINUX
> when
> defining format specifiers.
>
Looks OK to me.
Thanks.
--
H.J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] Decimal Floating-Point (libbid) for GNU/Hurd
2012-07-23 16:45 ` decimalfp
@ 2012-11-04 23:10 ` Thomas Schwinge
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Schwinge @ 2012-11-04 23:10 UTC (permalink / raw)
To: decimalfp; +Cc: gcc-patches, H.J. Lu
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
Hi!
On Mon, 23 Jul 2012 16:45:37 +0000, decimalfp <decimalfp@intel.com> wrote:
> Just a follow-up - have those changes been made?
I now pushed these in r193143.
libgcc/config/libbid/
* bid_functions.h: Check for __GLIBC__ additionally to LINUX when
defining format specifiers.
config/
* dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*.
gcc/
* configure: Regenerate.
libdecnumber/
* configure: Regenerate.
libgcc/
* configure: Regenerate.
Grüße,
Thomas
[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-11-04 23:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-16 14:36 [PATCH] Decimal Floating-Point (libbid) for GNU/Hurd Thomas Schwinge
2012-06-16 14:43 ` H.J. Lu
2012-07-23 16:45 ` decimalfp
2012-11-04 23:10 ` Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).