Changeset 14808 in vbox for trunk/include/iprt
- Timestamp:
- Nov 29, 2008 11:06:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r14246 r14808 746 746 : "0" (uOperator) 747 747 : "rbx", "rcx"); 748 # elif (defined(PIC) || defined( RT_OS_DARWIN)) && defined(__i386__) /* darwin: PIC by default. */748 # elif (defined(PIC) || defined(__PIC__)) && defined(__i386__) 749 749 __asm__ ("push %%ebx\n\t" 750 750 "cpuid\n\t" … … 802 802 : "0" (uOperator) 803 803 : "rbx", "rdx"); 804 # elif (defined(PIC) || defined( RT_OS_DARWIN)) && defined(__i386__) /* darwin: 4.0.1 compiler option / bug? */804 # elif (defined(PIC) || defined(__PIC__)) && defined(__i386__) 805 805 __asm__ ("push %%ebx\n\t" 806 806 "cpuid\n\t" … … 907 907 : "0" (1) 908 908 : "rcx", "rdx"); 909 # elif (defined(PIC) || defined( RT_OS_DARWIN)) && defined(__i386__)909 # elif (defined(PIC) || defined(__PIC__)) && defined(__i386__) 910 910 RTCCUINTREG uSpill; 911 911 __asm__ ("mov %%ebx,%1\n\t" … … 2515 2515 # else /* !RT_ARCH_AMD64 */ 2516 2516 # if RT_INLINE_ASM_GNU_STYLE 2517 # if defined(PIC) || defined( RT_OS_DARWIN) /* darwin: 4.0.1 compiler option / bug? */2517 # if defined(PIC) || defined(__PIC__) 2518 2518 uint32_t u32EBX = (uint32_t)u64; 2519 2519 __asm__ __volatile__(/*"xchgl %%esi, %5\n\t"*/ … … 2879 2879 uint32_t u32Ret; 2880 2880 # if RT_INLINE_ASM_GNU_STYLE 2881 # if defined(PIC) || defined( RT_OS_DARWIN) /* darwin: 4.0.1 compiler option / bug? */2881 # if defined(PIC) || defined(__PIC__) 2882 2882 uint32_t u32EBX = (uint32_t)u64New; 2883 2883 uint32_t u32Spill; … … 3139 3139 # if RT_INLINE_ASM_GNU_STYLE 3140 3140 uint64_t u64Ret; 3141 # if defined(PIC) || defined( RT_OS_DARWIN) /* darwin: 4.0.1 compiler option / bug? */3141 # if defined(PIC) || defined(__PIC__) 3142 3142 /* NB: this code uses a memory clobber description, because the clean 3143 3143 * solution with an output value for *pu64 makes gcc run out of registers. … … 3794 3794 # else /* !RT_ARCH_AMD64 */ 3795 3795 # if RT_INLINE_ASM_GNU_STYLE 3796 # if defined(PIC) || defined( RT_OS_DARWIN) /* darwin: 4.0.1 compiler option / bug? */3796 # if defined(PIC) || defined(__PIC__) 3797 3797 uint32_t u32EBX = 0; 3798 3798 Assert(!((uintptr_t)pu64 & 7)); … … 3870 3870 # else /* !RT_ARCH_AMD64 */ 3871 3871 # if RT_INLINE_ASM_GNU_STYLE 3872 # if defined(PIC) || defined( RT_OS_DARWIN) /* darwin: 4.0.1 compiler option / bug? */3872 # if defined(PIC) || defined(__PIC__) 3873 3873 uint32_t u32EBX = 0; 3874 3874 uint32_t u32Spill;
Note:
See TracChangeset
for help on using the changeset viewer.