VirtualBox

Changeset 100840 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Aug 9, 2023 5:52:37 PM (18 months ago)
Author:
vboxsync
Message:

VMM/IEM: More conversion from IEM_MC_MEM_MAP to IEM_MC_MEM_MAP_XXX. Correct 32-bit size BT instruction to not clear high bits. bugref:10369

Location:
trunk/src/VBox/VMM/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstIEMAImpl.cpp

    r100831 r100840  
    14401440    ENTRY(and_u16),
    14411441    ENTRY(and_u16_locked),
    1442     ENTRY_PFN_CAST(cmp_u16,  PFNIEMAIMPLBINU16),
    1443     ENTRY_PFN_CAST(test_u16, PFNIEMAIMPLBINU16),
    1444     ENTRY_EX(bt_u16, 1),
     1442    ENTRY_PFN_CAST(cmp_u16,   PFNIEMAIMPLBINU16),
     1443    ENTRY_PFN_CAST(test_u16,  PFNIEMAIMPLBINU16),
     1444    ENTRY_PFN_CAST_EX(bt_u16, PFNIEMAIMPLBINU16, 1),
    14451445    ENTRY_EX(btc_u16, 1),
    14461446    ENTRY_EX(btc_u16_locked, 1),
     
    14791479    ENTRY(and_u32),
    14801480    ENTRY(and_u32_locked),
    1481     ENTRY_PFN_CAST(cmp_u32,  PFNIEMAIMPLBINU32),
    1482     ENTRY_PFN_CAST(test_u32, PFNIEMAIMPLBINU32),
    1483     ENTRY_EX(bt_u32, 1),
     1481    ENTRY_PFN_CAST(cmp_u32,   PFNIEMAIMPLBINU32),
     1482    ENTRY_PFN_CAST(test_u32,  PFNIEMAIMPLBINU32),
     1483    ENTRY_PFN_CAST_EX(bt_u32, PFNIEMAIMPLBINU32, 1),
    14841484    ENTRY_EX(btc_u32, 1),
    14851485    ENTRY_EX(btc_u32_locked, 1),
     
    15171517    ENTRY(and_u64),
    15181518    ENTRY(and_u64_locked),
    1519     ENTRY_PFN_CAST(cmp_u64,  PFNIEMAIMPLBINU64),
    1520     ENTRY_PFN_CAST(test_u64, PFNIEMAIMPLBINU64),
    1521     ENTRY_EX(bt_u64, 1),
     1519    ENTRY_PFN_CAST(cmp_u64,   PFNIEMAIMPLBINU64),
     1520    ENTRY_PFN_CAST(test_u64,  PFNIEMAIMPLBINU64),
     1521    ENTRY_PFN_CAST_EX(bt_u64, PFNIEMAIMPLBINU64, 1),
    15221522    ENTRY_EX(btc_u64, 1),
    15231523    ENTRY_EX(btc_u64_locked, 1),
  • trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp

    r100826 r100840  
    675675#define IEM_MC_REF_GREG_U16(a_pu16Dst, a_iGReg)         do { CHK_GREG_IDX(a_iGReg); (a_pu16Dst) = (uint16_t *)((uintptr_t)0); CHK_PTYPE(uint16_t *, a_pu16Dst); (void)fMcBegin; } while (0)
    676676#define IEM_MC_REF_GREG_U32(a_pu32Dst, a_iGReg)         do { CHK_GREG_IDX(a_iGReg); (a_pu32Dst) = (uint32_t *)((uintptr_t)0); CHK_PTYPE(uint32_t *, a_pu32Dst); (void)fMcBegin; } while (0)
     677#define IEM_MC_REF_GREG_U64(a_pu64Dst, a_iGReg)         do { CHK_GREG_IDX(a_iGReg); (a_pu64Dst) = (uint64_t *)((uintptr_t)0); CHK_PTYPE(uint64_t *, a_pu64Dst); (void)fMcBegin; } while (0)
     678#define IEM_MC_REF_GREG_U8_CONST(a_pu8Dst, a_iGReg)     do { CHK_GREG_IDX(a_iGReg); (a_pu8Dst)  = (uint8_t  const *)((uintptr_t)0); CHK_PTYPE(uint8_t  const *, a_pu8Dst);  (void)fMcBegin; } while (0)
     679#define IEM_MC_REF_GREG_U16_CONST(a_pu16Dst, a_iGReg)   do { CHK_GREG_IDX(a_iGReg); (a_pu16Dst) = (uint16_t const *)((uintptr_t)0); CHK_PTYPE(uint16_t const *, a_pu16Dst); (void)fMcBegin; } while (0)
     680#define IEM_MC_REF_GREG_U32_CONST(a_pu32Dst, a_iGReg)   do { CHK_GREG_IDX(a_iGReg); (a_pu32Dst) = (uint32_t const *)((uintptr_t)0); CHK_PTYPE(uint32_t const *, a_pu32Dst); (void)fMcBegin; } while (0)
     681#define IEM_MC_REF_GREG_U64_CONST(a_pu64Dst, a_iGReg)   do { CHK_GREG_IDX(a_iGReg); (a_pu64Dst) = (uint64_t const *)((uintptr_t)0); CHK_PTYPE(uint64_t const *, a_pu64Dst); (void)fMcBegin; } while (0)
    677682#define IEM_MC_REF_GREG_I32(a_pi32Dst, a_iGReg)         do { CHK_GREG_IDX(a_iGReg); (a_pi32Dst) = (int32_t *)((uintptr_t)0); CHK_PTYPE(int32_t *, a_pi32Dst); (void)fMcBegin; } while (0)
     683#define IEM_MC_REF_GREG_I64(a_pi64Dst, a_iGReg)         do { CHK_GREG_IDX(a_iGReg); (a_pi64Dst) = (int64_t *)((uintptr_t)0); CHK_PTYPE(int64_t *, a_pi64Dst); (void)fMcBegin; } while (0)
    678684#define IEM_MC_REF_GREG_I32_CONST(a_pi32Dst, a_iGReg)   do { CHK_GREG_IDX(a_iGReg); (a_pi32Dst) = (int32_t const *)((uintptr_t)0); CHK_PTYPE(int32_t const *, a_pi32Dst); (void)fMcBegin; } while (0)
    679 #define IEM_MC_REF_GREG_U64(a_pu64Dst, a_iGReg)         do { CHK_GREG_IDX(a_iGReg); (a_pu64Dst) = (uint64_t *)((uintptr_t)0); CHK_PTYPE(uint64_t *, a_pu64Dst); (void)fMcBegin; } while (0)
    680 #define IEM_MC_REF_GREG_I64(a_pi64Dst, a_iGReg)         do { CHK_GREG_IDX(a_iGReg); (a_pi64Dst) = (int64_t *)((uintptr_t)0); CHK_PTYPE(int64_t *, a_pi64Dst); (void)fMcBegin; } while (0)
    681685#define IEM_MC_REF_GREG_I64_CONST(a_pi64Dst, a_iGReg)   do { CHK_GREG_IDX(a_iGReg); (a_pi64Dst) = (int64_t const *)((uintptr_t)0); CHK_PTYPE(int64_t const *, a_pi64Dst); (void)fMcBegin; } while (0)
    682686#define IEM_MC_REF_EFLAGS(a_pEFlags)                    do { (a_pEFlags) = (uint32_t *)((uintptr_t)0); CHK_PTYPE(uint32_t *, a_pEFlags); (void)fMcBegin; } while (0)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette