]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - soft-fp/op-8.h
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ...
[thirdparty/glibc.git] / soft-fp / op-8.h
index 789d383da78c70eb1957b8111eff491f49a0a7b6..01d92357ddfb8ce37a8dd135d50f43e50ab60d54 100644 (file)
@@ -1,6 +1,6 @@
 /* Software floating-point emulation.
    Basic eight-word fraction declaration and manipulation.
-   Copyright (C) 1997,1998,1999 Free Software Foundation, Inc.
+   Copyright (C) 1997,1998,1999,2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com),
                  Jakub Jelinek (jj@ultra.linux.cz) and
     _up = _FP_W_TYPE_SIZE - _down;                                     \
     for (_s = _i = 0; _i < _skip; ++_i)                                        \
       _s |= X##_f[_i];                                                 \
-    _s |= X##_f[_i] << _up;                                            \
-/* s is now != 0 if we want to set the LSbit */                                \
     if (!_down)                                                                \
       for (_i = 0; _i <= 7-_skip; ++_i)                                        \
        X##_f[_i] = X##_f[_i+_skip];                                    \
     else                                                               \
       {                                                                        \
+       _s |= X##_f[_i] << _up;                                         \
        for (_i = 0; _i < 7-_skip; ++_i)                                \
          X##_f[_i] = X##_f[_i+_skip] >> _down                          \
                      | X##_f[_i+_skip+1] << _up;                       \