Changeset e7b7be3f in mainline for uspace/libc/malloc/malloc.c
- Timestamp:
- 2007-01-22T13:10:08Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0f3fc9b
- Parents:
- 62c63fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/libc/malloc/malloc.c
r62c63fc re7b7be3f 1570 1570 else {\ 1571 1571 unsigned int K;\ 1572 __asm__("bsrl %1,%0\n\t" : "=r" (K) : "rm" (X));\1572 asm("bsrl %1,%0\n\t" : "=r" (K) : "rm" (X));\ 1573 1573 I = (bindex_t)((K << 1) + ((S >> (K + (TREEBIN_SHIFT-1)) & 1)));\ 1574 1574 }\ … … 1629 1629 {\ 1630 1630 unsigned int J;\ 1631 __asm__("bsfl %1,%0\n\t" : "=r" (J) : "rm" (X));\1631 asm("bsfl %1,%0\n\t" : "=r" (J) : "rm" (X));\ 1632 1632 I = (bindex_t)J;\ 1633 1633 }
Note:
See TracChangeset
for help on using the changeset viewer.