VirtualBox

Changeset 54260 in vbox


Ignore:
Timestamp:
Feb 18, 2015 7:07:16 AM (10 years ago)
Author:
vboxsync
Message:

iprt/asm-amd64-x86.h: Build fix for linux.x86 VM used to build the validation kit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asm-amd64-x86.h

    r54254 r54260  
    641641    RTUINT64U u;
    642642# if RT_INLINE_ASM_GNU_STYLE
    643     __asm__ __volatile__("rdtscp\n\t" : "=a" (u.s.Lo), "=d" (u.s.Hi), "=c" (*puAux));
     643    /* rdtscp is not supported by ancient linux build VM of course :-( */
     644    /*__asm__ __volatile__("rdtscp\n\t" : "=a" (u.s.Lo), "=d" (u.s.Hi), "=c" (*puAux)); */
     645    __asm__ __volatile__(".byte 0x0f,0x01,0xf9\n\t" : "=a" (u.s.Lo), "=d" (u.s.Hi), "=c" (*puAux));
    644646# else
    645647#  if RT_INLINE_ASM_USES_INTRIN >= 15
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