VirtualBox

Changeset 87230 in vbox


Ignore:
Timestamp:
Jan 12, 2021 4:23:04 PM (4 years ago)
Author:
vboxsync
Message:

iprt/asm.h: Try fix x86/gcc version of ASMPRobeReadByte.

File:
1 edited

Legend:

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

    r87223 r87230  
    54295429    uint8_t u8;
    54305430#  if RT_INLINE_ASM_GNU_STYLE
    5431     __asm__ __volatile__("movb (%1), %0\n\t"
    5432                          : "=r" (u8)
    5433                          : "r" (pvByte));
     5431    __asm__ __volatile__("movb %1, %0\n\t"
     5432                         : "=q" (u8)
     5433                         : "m" (*(const uint8_t *)pvByte));
    54345434#  else
    54355435    __asm
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