about summary refs log tree commit diff
path: root/sysdeps/powerpc/fpu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-20 07:31:42 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-20 07:31:42 +0000
commiteca33418e7e3a3576edafe2271f6da87fee61443 (patch)
tree2ad44b23aff4850359a856e11c043d7756b6c962 /sysdeps/powerpc/fpu
parent9dbdf61da1182089892d506f337ecaa02feb52ce (diff)
downloadglibc-eca33418e7e3a3576edafe2271f6da87fee61443.tar.gz
glibc-eca33418e7e3a3576edafe2271f6da87fee61443.tar.xz
glibc-eca33418e7e3a3576edafe2271f6da87fee61443.zip
Pretty print.
Diffstat (limited to 'sysdeps/powerpc/fpu')
-rw-r--r--sysdeps/powerpc/fpu/bits/mathinline.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/sysdeps/powerpc/fpu/bits/mathinline.h b/sysdeps/powerpc/fpu/bits/mathinline.h
index 0548f92f1e..ebea3143ed 100644
--- a/sysdeps/powerpc/fpu/bits/mathinline.h
+++ b/sysdeps/powerpc/fpu/bits/mathinline.h
@@ -1,6 +1,5 @@
 /* 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 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
@@ -21,18 +20,18 @@
 #if defined __GNUC__ && !defined _SOFT_FLOAT
 
 #ifdef __USE_ISOC99
-#if __GNUC_PREREQ (2,96)
+# if __GNUC_PREREQ (2,96)
 
-#define isgreater(x, y) __builtin_isgreater (x, y)
-#define isgreaterequal(x, y) __builtin_isgreaterequal (x, y)
-#define isless(x, y) __builtin_isless (x, y)
-#define islessequal(x, y) __builtin_islessequal (x, y)
-#define islessgreater(x, y) __builtin_islessgreater (x, y)
-#define isunordered(x, y) __builtin_isunordered (x, y)
+#  define isgreater(x, y) __builtin_isgreater (x, y)
+#  define isgreaterequal(x, y) __builtin_isgreaterequal (x, y)
+#  define isless(x, y) __builtin_isless (x, y)
+#  define islessequal(x, y) __builtin_islessequal (x, y)
+#  define islessgreater(x, y) __builtin_islessgreater (x, y)
+#  define isunordered(x, y) __builtin_isunordered (x, y)
 
-#else
+# else
 
-# define __unordered_cmp(x, y) \
+#  define __unordered_cmp(x, y) \
   (__extension__							      \
    ({ __typeof__(x) __x = (x); __typeof__(y) __y = (y);			      \
       unsigned __r;							      \
@@ -40,14 +39,14 @@
               : "cr7");  \
       __r; }))
 
-# define isgreater(x, y) (__unordered_cmp (x, y) >> 2 & 1)
-# define isgreaterequal(x, y) ((__unordered_cmp (x, y) & 6) != 0)
-# define isless(x, y) (__unordered_cmp (x, y) >> 3 & 1)
-# define islessequal(x, y) ((__unordered_cmp (x, y) & 0xA) != 0)
-# define islessgreater(x, y) ((__unordered_cmp (x, y) & 0xC) != 0)
-# define isunordered(x, y) (__unordered_cmp (x, y) & 1)
+#  define isgreater(x, y) (__unordered_cmp (x, y) >> 2 & 1)
+#  define isgreaterequal(x, y) ((__unordered_cmp (x, y) & 6) != 0)
+#  define isless(x, y) (__unordered_cmp (x, y) >> 3 & 1)
+#  define islessequal(x, y) ((__unordered_cmp (x, y) & 0xA) != 0)
+#  define islessgreater(x, y) ((__unordered_cmp (x, y) & 0xC) != 0)
+#  define isunordered(x, y) (__unordered_cmp (x, y) & 1)
 
-#endif /* __GNUC_PREREQ (2,97) */
+# endif /* __GNUC_PREREQ (2,97) */
 #endif /* __USE_ISOC99 */
 
 #if !defined __NO_MATH_INLINES && defined __OPTIMIZE__