Changeset 108313 in vbox for trunk/src/VBox/VMM/include/IEMMc.h
- Timestamp:
- Feb 20, 2025 3:41:00 PM (3 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167657
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/IEMMc.h
r108312 r108313 1441 1441 * arm: EFL == NZCV. 1442 1442 */ 1443 /** @todo s/IEM_MC_IF_EFL_/IEM_MC_IF_FLAGS_/ */1444 1443 1445 1444 /** @note x86: Not for IOPL or IF testing. */ 1446 #define IEM_MC_IF_ EFL_BIT_SET(a_fBit) if (pVCpu->cpum.GstCtx.eflags.u & (a_fBit)) {1445 #define IEM_MC_IF_FLAGS_BIT_SET(a_fBit) if (pVCpu->cpum.GstCtx.eflags.u & (a_fBit)) { 1447 1446 /** @note x86: Not for IOPL or IF testing. */ 1448 #define IEM_MC_IF_ EFL_BIT_NOT_SET(a_fBit) if (!(pVCpu->cpum.GstCtx.eflags.u & (a_fBit))) {1447 #define IEM_MC_IF_FLAGS_BIT_NOT_SET(a_fBit) if (!(pVCpu->cpum.GstCtx.eflags.u & (a_fBit))) { 1449 1448 /** @note x86: Not for IOPL or IF testing. */ 1450 #define IEM_MC_IF_ EFL_ANY_BITS_SET(a_fBits) if (pVCpu->cpum.GstCtx.eflags.u & (a_fBits)) {1449 #define IEM_MC_IF_FLAGS_ANY_BITS_SET(a_fBits) if (pVCpu->cpum.GstCtx.eflags.u & (a_fBits)) { 1451 1450 /** @note x86: Not for IOPL or IF testing. */ 1452 #define IEM_MC_IF_ EFL_NO_BITS_SET(a_fBits) if (!(pVCpu->cpum.GstCtx.eflags.u & (a_fBits))) {1451 #define IEM_MC_IF_FLAGS_NO_BITS_SET(a_fBits) if (!(pVCpu->cpum.GstCtx.eflags.u & (a_fBits))) { 1453 1452 /** @note x86: Not for IOPL or IF testing. */ 1454 #define IEM_MC_IF_ EFL_BITS_NE(a_fBit1, a_fBit2) \1453 #define IEM_MC_IF_FLAGS_BITS_NE(a_fBit1, a_fBit2) \ 1455 1454 if ( !!(pVCpu->cpum.GstCtx.eflags.u & (a_fBit1)) \ 1456 1455 != !!(pVCpu->cpum.GstCtx.eflags.u & (a_fBit2)) ) { 1457 1456 /** @note x86: Not for IOPL or IF testing. */ 1458 #define IEM_MC_IF_ EFL_BITS_EQ(a_fBit1, a_fBit2) \1457 #define IEM_MC_IF_FLAGS_BITS_EQ(a_fBit1, a_fBit2) \ 1459 1458 if ( !!(pVCpu->cpum.GstCtx.eflags.u & (a_fBit1)) \ 1460 1459 == !!(pVCpu->cpum.GstCtx.eflags.u & (a_fBit2)) ) { 1461 1460 /** @note x86: Not for IOPL or IF testing. */ 1462 #define IEM_MC_IF_ EFL_BIT_SET_OR_BITS_NE(a_fBit, a_fBit1, a_fBit2) \1461 #define IEM_MC_IF_FLAGS_BIT_SET_OR_BITS_NE(a_fBit, a_fBit1, a_fBit2) \ 1463 1462 if ( (pVCpu->cpum.GstCtx.eflags.u & (a_fBit)) \ 1464 1463 || !!(pVCpu->cpum.GstCtx.eflags.u & (a_fBit1)) \ 1465 1464 != !!(pVCpu->cpum.GstCtx.eflags.u & (a_fBit2)) ) { 1466 1465 /** @note x86: Not for IOPL or IF testing. */ 1467 #define IEM_MC_IF_ EFL_BIT_NOT_SET_AND_BITS_EQ(a_fBit, a_fBit1, a_fBit2) \1466 #define IEM_MC_IF_FLAGS_BIT_NOT_SET_AND_BITS_EQ(a_fBit, a_fBit1, a_fBit2) \ 1468 1467 if ( !(pVCpu->cpum.GstCtx.eflags.u & (a_fBit)) \ 1469 1468 && !!(pVCpu->cpum.GstCtx.eflags.u & (a_fBit1)) \
Note:
See TracChangeset
for help on using the changeset viewer.