ce426f
--- glibc-2.17-c758a686/sysdeps/powerpc/power7/fpu/s_logbl.c	2014-09-10 20:52:01.813168232 -0400
ce426f
+++ glibc-2.17-c758a686/sysdeps/powerpc/power7/fpu/s_logbl.c	2014-01-02 13:16:41.441557403 -0500
ce426f
@@ -1,5 +1,5 @@
ce426f
 /* logbl(). PowerPC/POWER7 version.
ce426f
-   Copyright (C) 2012 Free Software Foundation, Inc.
ce426f
+   Copyright (C) 2012-2014 Free Software Foundation, Inc.
ce426f
    This file is part of the GNU C Library.
ce426f
 
ce426f
    The GNU C Library is free software; you can redistribute it and/or
ce426f
@@ -35,14 +35,14 @@
ce426f
 long double
ce426f
 __logbl (long double x)
ce426f
 {
ce426f
-  double xh, xl;
ce426f
+  double xh;
ce426f
   double ret;
ce426f
 
ce426f
   if (__builtin_expect (x == 0.0L, 0))
ce426f
     /* Raise FE_DIVBYZERO and return -HUGE_VAL[LF].  */
ce426f
     return -1.0L / __builtin_fabsl (x);
ce426f
 
ce426f
-  ldbl_unpack (x, &xh, &xl);
ce426f
+  xh = ldbl_high (x);
ce426f
   /* ret = x & 0x7ff0000000000000;  */
ce426f
   asm (
ce426f
     "xxland %x0,%x1,%x2\n"
ce426f
@@ -58,15 +58,14 @@
ce426f
     {
ce426f
       /* POSIX specifies that denormal number is treated as
ce426f
          though it were normalized.  */
ce426f
-      int64_t lx, hx;
ce426f
+      int64_t hx;
ce426f
 
ce426f
-      GET_LDOUBLE_WORDS64 (hx, lx, x);
ce426f
+      EXTRACT_WORDS64 (hx, xh);
ce426f
       return (long double) (-1023 - (__builtin_clzll (hx) - 12));
ce426f
     }
ce426f
   /* Test to avoid logb_downward (0.0) == -0.0.  */
ce426f
   return ret == -0.0 ? 0.0 : ret;
ce426f
 }
ce426f
-
ce426f
 #ifndef __logbl
ce426f
 long_double_symbol (libm, __logbl, logbl);
ce426f
 #endif