Changeset 78422 in vbox
- Timestamp:
- May 7, 2019 9:55:50 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130421
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm-amd64-x86.h
r76886 r78422 81 81 # endif 82 82 # if RT_INLINE_ASM_USES_INTRIN >= 15 83 # pragma intrinsic(__readeflags) 84 # pragma intrinsic(__writeeflags) 83 /*# pragma intrinsic(__readeflags) - buggy intrinsics in VC++ 2010, reordering/optimizers issues 84 # pragma intrinsic(__writeeflags) */ 85 85 # pragma intrinsic(__rdtscp) 86 86 # endif … … 552 552 * @returns [RE]FLAGS. 553 553 */ 554 #if RT_INLINE_ASM_EXTERNAL && RT_INLINE_ASM_USES_INTRIN < 15554 #if RT_INLINE_ASM_EXTERNAL /*&& RT_INLINE_ASM_USES_INTRIN < 15 - buggy intrinsics in VC++ 2010, reordering/optimizers issues. */ 555 555 RT_ASM_DECL_PRAGMA_WATCOM(RTCCUINTREG) ASMGetFlags(void); 556 556 #else … … 591 591 * @param uFlags The new [RE]FLAGS value. 592 592 */ 593 #if RT_INLINE_ASM_EXTERNAL && RT_INLINE_ASM_USES_INTRIN < 15593 #if RT_INLINE_ASM_EXTERNAL /*&& RT_INLINE_ASM_USES_INTRIN < 15 - see __readeflags() above. */ 594 594 RT_ASM_DECL_PRAGMA_WATCOM(void) ASMSetFlags(RTCCUINTREG uFlags); 595 595 #else … … 630 630 * @param fOrEfl Flags to be set. 631 631 */ 632 #if RT_INLINE_ASM_EXTERNAL && RT_INLINE_ASM_USES_INTRIN < 15632 #if RT_INLINE_ASM_EXTERNAL /*&& RT_INLINE_ASM_USES_INTRIN < 15 - buggy intrinsics in VC++ 2010, reordering/optimizers issues. */ 633 633 RT_ASM_DECL_PRAGMA_WATCOM(RTCCUINTREG) ASMChangeFlags(RTCCUINTREG fAndEfl, RTCCUINTREG fOrEfl); 634 634 #else … … 697 697 * @param fOrEfl The flags to be set (ORed in). 698 698 */ 699 #if RT_INLINE_ASM_EXTERNAL && RT_INLINE_ASM_USES_INTRIN < 15699 #if RT_INLINE_ASM_EXTERNAL /*&& RT_INLINE_ASM_USES_INTRIN < 15 - buggy intrinsics in VC++ 2010, reordering/optimizers issues. */ 700 700 RT_ASM_DECL_PRAGMA_WATCOM(RTCCUINTREG) ASMAddFlags(RTCCUINTREG fOrEfl); 701 701 #else … … 752 752 * @param fAndEfl The flags to keep. 753 753 */ 754 #if RT_INLINE_ASM_EXTERNAL && RT_INLINE_ASM_USES_INTRIN < 15754 #if RT_INLINE_ASM_EXTERNAL /*&& RT_INLINE_ASM_USES_INTRIN < 15 - buggy intrinsics in VC++ 2010, reordering/optimizers issues. */ 755 755 RT_ASM_DECL_PRAGMA_WATCOM(RTCCUINTREG) ASMClearFlags(RTCCUINTREG fAndEfl); 756 756 #else
Note:
See TracChangeset
for help on using the changeset viewer.