VirtualBox

Changeset 63686 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 2, 2016 10:39:20 AM (8 years ago)
Author:
vboxsync
Message:

asm.h: ASMBitLastSetU64 fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asm.h

    r63400 r63686  
    53525352    __asm__ __volatile__("bsrq %1, %0\n\t"
    53535353                         "jnz   1f\n\t"
    5354                          "xorl %0, %0\n\t"
     5354                         "xorl %l0, %l0\n\t"
    53555355                         "jmp  2f\n"
    53565356                         "1:\n\t"
    5357                          "incl %0\n"
     5357                         "incl %l0\n"
    53585358                         "2:\n\t"
    53595359                         : "=r" (iBit)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette