VirtualBox

Changeset 1029 in vbox


Ignore:
Timestamp:
Feb 23, 2007 9:22:58 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18893
Message:

no need to do push/pop here

File:
1 edited

Legend:

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

    r1027 r1029  
    783783#  elif (defined(PIC) || defined(__DARWIN__)) && defined(__i386__)
    784784    RTCCUINTREG uSpill;
    785     __asm__ ("push  %%ebx\n\t"
     785    __asm__ ("mov   %%ebx,%%edi\n\t"
    786786             "cpuid\n\t"
    787              "xchgl %%ebx, %%ecx\n\t"
    788              "pop   %%ebx\n\t"
     787             "xchgl %%edi,%%ebx\n\t"
    789788             : "=a" (uSpill),
    790                "=c" (xBX)
     789               "=D" (xBX)
    791790             : "0" (1)
    792              : "edx");
     791             : "ecx", "edx");
    793792#  else
    794793    RTCCUINTREG uSpill;
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