VirtualBox

Ignore:
Timestamp:
Mar 26, 2018 6:15:27 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121495
Message:

Fixes for SPARC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asm/asm-fake.cpp

    r69111 r71522  
    451451}
    452452
     453RTDECL(unsigned) ASMBitFirstSetU64(uint64_t u64)
     454{
     455    uint32_t iBit;
     456    for (iBit = 0; iBit < 64; iBit++)
     457        if (u64 & RT_BIT_64(iBit))
     458            return iBit + 1;
     459    return 0;
     460}
     461
    453462RTDECL(uint16_t) ASMByteSwapU16(uint16_t u16)
    454463{
Note: See TracChangeset for help on using the changeset viewer.

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