/[hurd]/hurd-l4/libl4/l4/math.h
ViewVC logotype

Diff of /hurd-l4/libl4/l4/math.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by marcus, Thu Sep 18 15:46:58 2003 UTC revision 1.4 by marcus, Sun Oct 5 21:32:21 2003 UTC
# Line 64  l4_msb (l4_word_t data) Line 64  l4_msb (l4_word_t data)
64        __L4_MSB_IS(64)        __L4_MSB_IS(64)
65  #endif  #endif
66      }      }
67    return data ? __l4_msb (data) : 0;  
68      if (__builtin_expect (data != 0, 1))
69        return __l4_msb (data);
70      else
71        return 0;
72  }  }
73    
74    
# Line 101  l4_lsb (l4_word_t data) Line 105  l4_lsb (l4_word_t data)
105        __L4_LSB_TRY(8); __L4_LSB_TRY(7); __L4_LSB_TRY(6); __L4_LSB_TRY(5);        __L4_LSB_TRY(8); __L4_LSB_TRY(7); __L4_LSB_TRY(6); __L4_LSB_TRY(5);
106        __L4_LSB_TRY(4); __L4_LSB_TRY(3); __L4_LSB_TRY(2); __L4_LSB_IS(1);        __L4_LSB_TRY(4); __L4_LSB_TRY(3); __L4_LSB_TRY(2); __L4_LSB_IS(1);
107      }      }
108    return data ? __l4_lsb (data) : 0;  
109      if (__builtin_expect (data != 0, 1))
110        return __l4_lsb (data);
111      else
112        return 0;
113  }  }
114    
115  #endif  /* l4/math.h */  #endif  /* l4/math.h */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26