Changeset 48572 in vbox for trunk/include/iprt
- Timestamp:
- Sep 20, 2013 12:17:16 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 89127
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asm-amd64-x86.h
r46925 r48572 69 69 # pragma intrinsic(__writecr8) 70 70 # endif 71 # if RT_INLINE_ASM_USES_INTRIN >= 15 72 # pragma intrinsic(__readeflags) 73 # pragma intrinsic(__writeeflags) 74 # endif 71 75 #endif 72 76 … … 378 382 * @returns [RE]FLAGS. 379 383 */ 380 #if RT_INLINE_ASM_EXTERNAL 384 #if RT_INLINE_ASM_EXTERNAL && RT_INLINE_ASM_USES_INTRIN < 15 381 385 DECLASM(RTCCUINTREG) ASMGetFlags(void); 382 386 #else … … 394 398 : "=r" (uFlags)); 395 399 # endif 400 # elif RT_INLINE_ASM_USES_INTRIN >= 15 401 uFlags = __readeflags(); 396 402 # else 397 403 __asm … … 415 421 * @param uFlags The new [RE]FLAGS value. 416 422 */ 417 #if RT_INLINE_ASM_EXTERNAL 423 #if RT_INLINE_ASM_EXTERNAL && RT_INLINE_ASM_USES_INTRIN < 15 418 424 DECLASM(void) ASMSetFlags(RTCCUINTREG uFlags); 419 425 #else … … 430 436 : : "g" (uFlags)); 431 437 # endif 438 # elif RT_INLINE_ASM_USES_INTRIN >= 15 439 __writeeflags(uFlags); 432 440 # else 433 441 __asm -
trunk/include/iprt/cdefs.h
r47435 r48572 2655 2655 * Otherwise it is 0. */ 2656 2656 #ifdef _MSC_VER 2657 # if _MSC_VER >= 1700 2657 # if _MSC_VER >= 1700 /* Visual C++ v11.0 / 2012 */ 2658 2658 # define RT_INLINE_ASM_USES_INTRIN 17 2659 # elif _MSC_VER >= 1600 2659 # elif _MSC_VER >= 1600 /* Visual C++ v10.0 / 2010 */ 2660 2660 # define RT_INLINE_ASM_USES_INTRIN 16 2661 # elif _MSC_VER >= 1500 2661 # elif _MSC_VER >= 1500 /* Visual C++ v9.0 / 2008 */ 2662 2662 # define RT_INLINE_ASM_USES_INTRIN 15 2663 # elif _MSC_VER >= 1400 2663 # elif _MSC_VER >= 1400 /* Visual C++ v8.0 / 2005 */ 2664 2664 # define RT_INLINE_ASM_USES_INTRIN 14 2665 2665 # endif
Note:
See TracChangeset
for help on using the changeset viewer.