VirtualBox

Changeset 63688 in vbox


Ignore:
Timestamp:
Sep 2, 2016 11:18:05 AM (8 years ago)
Author:
vboxsync
Message:

asm.h: here as well

File:
1 edited

Legend:

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

    r63687 r63688  
    52125212    __asm__ __volatile__("bsfq %1, %0\n\t"
    52135213                         "jnz  1f\n\t"
    5214                          "xorl %0, %0\n\t"
     5214                         "xorl %k0, %k0\n\t"
    52155215                         "jmp  2f\n"
    52165216                         "1:\n\t"
    5217                          "incl %0\n"
     5217                         "incl %k0\n"
    52185218                         "2:\n\t"
    52195219                         : "=r" (iBit)
     
    53515351    uint64_t iBit;
    53525352    __asm__ __volatile__("bsrq %1, %0\n\t"
    5353                          "jnz   1f\n\t"
     5353                         "jnz  1f\n\t"
    53545354                         "xorl %k0, %k0\n\t"
    53555355                         "jmp  2f\n"
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