Changeset 60961 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 12, 2016 3:34:15 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107188
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllInstructions.cpp.h
r60888 r60961 8059 8059 case IEMMODE_16BIT: 8060 8060 IEM_MC_BEGIN(0, 1); 8061 IEM_MC_LOCAL(uint16_t , *pu16Dst);8061 IEM_MC_LOCAL(uint16_t *, pu16Dst); 8062 8062 IEM_MC_REF_GREG_U16(pu16Dst, iReg); 8063 8063 IEM_MC_POP_U16(pu16Dst); … … 8068 8068 case IEMMODE_32BIT: 8069 8069 IEM_MC_BEGIN(0, 1); 8070 IEM_MC_LOCAL(uint32_t , *pu32Dst);8070 IEM_MC_LOCAL(uint32_t *, pu32Dst); 8071 8071 IEM_MC_REF_GREG_U32(pu32Dst, iReg); 8072 8072 IEM_MC_POP_U32(pu32Dst); … … 8078 8078 case IEMMODE_64BIT: 8079 8079 IEM_MC_BEGIN(0, 1); 8080 IEM_MC_LOCAL(uint64_t , *pu64Dst);8080 IEM_MC_LOCAL(uint64_t *, pu64Dst); 8081 8081 IEM_MC_REF_GREG_U64(pu64Dst, iReg); 8082 8082 IEM_MC_POP_U64(pu64Dst); -
trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp
r60415 r60961 438 438 #define IEM_MC_OR_GREG_U64(a_iGReg, a_u64Value) do { CHK_CONST(uint64_t, a_u64Value); } while (0) 439 439 440 #ifdef _MSC_VER 441 #define IEM_MC_ADD_GREG_U8_TO_LOCAL(a_u16Value, a_iGReg) do { (a_u8Value) += 1; /*CHK_CONST(uint8_t, a_u8Value); */ } while (0) 442 #define IEM_MC_ADD_GREG_U16_TO_LOCAL(a_u16Value, a_iGReg) do { (a_u16Value) += 1; /*CHK_CONST(uint16_t, a_u16Value);*/ } while (0) 443 #define IEM_MC_ADD_GREG_U32_TO_LOCAL(a_u32Value, a_iGReg) do { (a_u32Value) += 1; /*CHK_CONST(uint32_t, a_u32Value);*/ } while (0) 444 #define IEM_MC_ADD_GREG_U64_TO_LOCAL(a_u64Value, a_iGReg) do { (a_u64Value) += 1; /*CHK_CONST(uint64_t, a_u64Value);*/ } while (0) 445 #else 446 #define IEM_MC_ADD_GREG_U8_TO_LOCAL(a_u16Value, a_iGReg) do { (a_u8Value) += 1; CHK_CONST(uint8_t, a_u8Value); } while (0) 447 #define IEM_MC_ADD_GREG_U16_TO_LOCAL(a_u16Value, a_iGReg) do { (a_u16Value) += 1; CHK_CONST(uint16_t, a_u16Value); } while (0) 448 #define IEM_MC_ADD_GREG_U32_TO_LOCAL(a_u32Value, a_iGReg) do { (a_u32Value) += 1; CHK_CONST(uint32_t, a_u32Value); } while (0) 449 #define IEM_MC_ADD_GREG_U64_TO_LOCAL(a_u64Value, a_iGReg) do { (a_u64Value) += 1; CHK_CONST(uint64_t, a_u64Value); } while (0) 450 #endif 440 #define IEM_MC_ADD_GREG_U8_TO_LOCAL(a_u16Value, a_iGReg) do { (a_u8Value) += 1; CHK_TYPE(uint8_t, a_u8Value); } while (0) 441 #define IEM_MC_ADD_GREG_U16_TO_LOCAL(a_u16Value, a_iGReg) do { (a_u16Value) += 1; CHK_TYPE(uint16_t, a_u16Value); } while (0) 442 #define IEM_MC_ADD_GREG_U32_TO_LOCAL(a_u32Value, a_iGReg) do { (a_u32Value) += 1; CHK_TYPE(uint32_t, a_u32Value); } while (0) 443 #define IEM_MC_ADD_GREG_U64_TO_LOCAL(a_u64Value, a_iGReg) do { (a_u64Value) += 1; CHK_TYPE(uint64_t, a_u64Value); } while (0) 451 444 #define IEM_MC_ADD_LOCAL_S16_TO_EFF_ADDR(a_EffAddr, a_i16) do { (a_EffAddr) += (a_i16); CHK_GCPTR(a_EffAddr); } while (0) 452 445 #define IEM_MC_ADD_LOCAL_S32_TO_EFF_ADDR(a_EffAddr, a_i32) do { (a_EffAddr) += (a_i32); CHK_GCPTR(a_EffAddr); } while (0) … … 558 551 #define IEM_MC_POP_U32(a_pu32Value) do {} while (0) 559 552 #define IEM_MC_POP_U64(a_pu64Value) do {} while (0) 560 #define IEM_MC_MEM_MAP(a_pMem, a_fAccess, a_iSeg, a_GCPtrMem, a_iArg) do { NOREF(a_fAccess);} while (0)553 #define IEM_MC_MEM_MAP(a_pMem, a_fAccess, a_iSeg, a_GCPtrMem, a_iArg) do {} while (0) 561 554 #define IEM_MC_MEM_MAP_EX(a_pvMem, a_fAccess, a_cbMem, a_iSeg, a_GCPtrMem, a_iArg) do {} while (0) 562 555 #define IEM_MC_MEM_COMMIT_AND_UNMAP(a_pvMem, a_fAccess) do {} while (0)
Note:
See TracChangeset
for help on using the changeset viewer.