Changeset 19762 in vbox
- Timestamp:
- May 18, 2009 6:56:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm.h
r19738 r19762 114 114 #endif 115 115 116 /** @def RT_INLINE_ASM_GCC_4_3_ 3_X86117 * Used to work around some 4.3. 3 register allocation issues in this version118 * ofthe compiler. */116 /** @def RT_INLINE_ASM_GCC_4_3_X_X86 117 * Used to work around some 4.3.x register allocation issues in this version of 118 * the compiler. */ 119 119 #ifdef __GNUC__ 120 # define RT_INLINE_ASM_GCC_4_3_ 3_X86 (__GNUC__ == 4 && __GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ == 3 && defined(__i386__))121 #endif 122 #ifndef RT_INLINE_ASM_GCC_4_3_ 3_X86123 # define RT_INLINE_ASM_GCC_4_3_ 3_X86 0120 # define RT_INLINE_ASM_GCC_4_3_X_X86 (__GNUC__ == 4 && __GNUC_MINOR__ == 3 && defined(__i386__)) 121 #endif 122 #ifndef RT_INLINE_ASM_GCC_4_3_X_X86 123 # define RT_INLINE_ASM_GCC_4_3_X_X86 0 124 124 #endif 125 125 … … 3110 3110 */ 3111 3111 #if (RT_INLINE_ASM_EXTERNAL && !RT_INLINE_ASM_USES_INTRIN) \ 3112 || (RT_INLINE_ASM_GCC_4_3_ 3_X86 && defined(IN_RING3) && defined(__PIC__))3112 || (RT_INLINE_ASM_GCC_4_3_X_X86 && defined(IN_RING3) && defined(__PIC__)) 3113 3113 DECLASM(bool) ASMAtomicCmpXchgU64(volatile uint64_t *pu64, const uint64_t u64New, const uint64_t u64Old); 3114 3114 #else … … 4048 4048 */ 4049 4049 #if (RT_INLINE_ASM_EXTERNAL && !defined(RT_ARCH_AMD64)) \ 4050 || (RT_INLINE_ASM_GCC_4_3_ 3_X86 && defined(IN_RING3) && defined(__PIC__))4050 || (RT_INLINE_ASM_GCC_4_3_X_X86 && defined(IN_RING3) && defined(__PIC__)) 4051 4051 DECLASM(uint64_t) ASMAtomicReadU64(volatile uint64_t *pu64); 4052 4052 #else
Note:
See TracChangeset
for help on using the changeset viewer.