* [PATCH] Fix ppc64 mathinline.h
@ 2004-02-20 15:39 Jakub Jelinek
2004-02-20 20:17 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2004-02-20 15:39 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
Fix for forgotten lrint/lrintf inline.
2004-02-20 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Protect
with #ifndef __powerpc64__.
--- libc/sysdeps/powerpc/fpu/bits/mathinline.h.jj 2002-09-20 22:01:38.000000000 +0200
+++ libc/sysdeps/powerpc/fpu/bits/mathinline.h 2004-02-20 17:36:15.765992016 +0100
@@ -1,5 +1,6 @@
/* Inline math functions for powerpc.
- Copyright (C) 1995,1996,1997,1998,1999,2000 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2004
+ Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -58,6 +59,8 @@
#endif /* __cplusplus */
#ifdef __USE_ISOC99
+
+# ifndef __powerpc64__
__MATH_INLINE long int lrint (double __x) __THROW;
__MATH_INLINE long int
lrint (double __x) __THROW
@@ -81,6 +84,7 @@ lrintf (float __x) __THROW
__asm__ ("fctiw %0,%1" : "=f"(__u.__d) : "f"(__x));
return __u.__ll[1];
}
+# endif
__MATH_INLINE double fdim (double __x, double __y) __THROW;
__MATH_INLINE double
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix ppc64 mathinline.h
2004-02-20 15:39 [PATCH] Fix ppc64 mathinline.h Jakub Jelinek
@ 2004-02-20 20:17 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2004-02-20 20:17 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Glibc hackers
Applied.
--
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-20 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-20 15:39 [PATCH] Fix ppc64 mathinline.h Jakub Jelinek
2004-02-20 20:17 ` Ulrich Drepper
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).