Changeset 47400 in vbox for trunk/src/VBox
- Timestamp:
- Jul 25, 2013 6:11:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp
r47399 r47400 348 348 #define IEM_MC_ARG_LOCAL_EFLAGS(a_pName, a_Name, a_iArg) \ 349 349 RT_CONCAT(iArgCheck_, a_iArg) = 1; NOREF(RT_CONCAT(iArgCheck_,a_iArg)); \ 350 int RT_CONCAT3(iArgCheck_,a_iArg,a_ Name); NOREF(RT_CONCAT3(iArgCheck_,a_iArg,a_Name)); \350 int RT_CONCAT3(iArgCheck_,a_iArg,a_pName); NOREF(RT_CONCAT3(iArgCheck_,a_iArg,a_pName)); \ 351 351 AssertCompile((a_iArg) < cArgs); \ 352 352 uint32_t a_Name; \ … … 549 549 #define IEM_MC_CALC_RM_EFF_ADDR(a_GCPtrEff, bRm, cbImm) do { (a_GCPtrEff) = 0; CHK_GCPTR(a_GCPtrEff); } while (0) 550 550 #define IEM_MC_CALL_VOID_AIMPL_0(a_pfn) do {} while (0) 551 #define IEM_MC_CALL_VOID_AIMPL_1(a_pfn, a0) do {} while (0) 552 #define IEM_MC_CALL_VOID_AIMPL_2(a_pfn, a0, a1) do {} while (0) 553 #define IEM_MC_CALL_VOID_AIMPL_3(a_pfn, a0, a1, a2) do {} while (0) 554 #define IEM_MC_CALL_VOID_AIMPL_4(a_pfn, a0, a1, a2, a3) do {} while (0) 555 #define IEM_MC_CALL_AIMPL_3(a_rc, a_pfn, a0, a1, a2) do { (a_rc) = VINF_SUCCESS; } while (0) 556 #define IEM_MC_CALL_AIMPL_4(a_rc, a_pfn, a0, a1, a2, a3) do { (a_rc) = VINF_SUCCESS; } while (0) 557 #define IEM_MC_CALL_CIMPL_0(a_pfnCImpl) return VINF_SUCCESS 558 #define IEM_MC_CALL_CIMPL_1(a_pfnCImpl, a0) return VINF_SUCCESS 559 #define IEM_MC_CALL_CIMPL_2(a_pfnCImpl, a0, a1) return VINF_SUCCESS 560 #define IEM_MC_CALL_CIMPL_3(a_pfnCImpl, a0, a1, a2) return VINF_SUCCESS 561 #define IEM_MC_CALL_CIMPL_5(a_pfnCImpl, a0, a1, a2, a3, a4) return VINF_SUCCESS 551 #define IEM_MC_CALL_VOID_AIMPL_1(a_pfn, a0) \ 552 do { CHK_CALL_ARG(a0, 0); } while (0) 553 #define IEM_MC_CALL_VOID_AIMPL_2(a_pfn, a0, a1) \ 554 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); } while (0) 555 #define IEM_MC_CALL_VOID_AIMPL_3(a_pfn, a0, a1, a2) \ 556 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); CHK_CALL_ARG(a2, 2); } while (0) 557 #define IEM_MC_CALL_VOID_AIMPL_4(a_pfn, a0, a1, a2, a3) \ 558 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); CHK_CALL_ARG(a2, 2); CHK_CALL_ARG(a3, 3); } while (0) 559 #define IEM_MC_CALL_AIMPL_3(a_rc, a_pfn, a0, a1, a2) \ 560 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); CHK_CALL_ARG(a2, 2); (a_rc) = VINF_SUCCESS; } while (0) 561 #define IEM_MC_CALL_AIMPL_4(a_rc, a_pfn, a0, a1, a2, a3) \ 562 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); CHK_CALL_ARG(a2, 2); CHK_CALL_ARG(a3, 3); (a_rc) = VINF_SUCCESS; } while (0) 563 #define IEM_MC_CALL_CIMPL_0(a_pfnCImpl) do { } while (0) 564 #define IEM_MC_CALL_CIMPL_1(a_pfnCImpl, a0) \ 565 do { CHK_CALL_ARG(a0, 0); } while (0) 566 #define IEM_MC_CALL_CIMPL_2(a_pfnCImpl, a0, a1) \ 567 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); } while (0) 568 #define IEM_MC_CALL_CIMPL_3(a_pfnCImpl, a0, a1, a2) \ 569 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); CHK_CALL_ARG(a2, 2); } while (0) 570 #define IEM_MC_CALL_CIMPL_5(a_pfnCImpl, a0, a1, a2, a3, a4) \ 571 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); CHK_CALL_ARG(a2, 2); CHK_CALL_ARG(a3, 3); CHK_CALL_ARG(a4, 4); } while (0) 562 572 #define IEM_MC_DEFER_TO_CIMPL_0(a_pfnCImpl) (VINF_SUCCESS) 563 573 #define IEM_MC_DEFER_TO_CIMPL_1(a_pfnCImpl, a0) (VINF_SUCCESS) … … 565 575 #define IEM_MC_DEFER_TO_CIMPL_3(a_pfnCImpl, a0, a1, a2) (VINF_SUCCESS) 566 576 567 #define IEM_MC_CALL_FPU_AIMPL_1(a_pfnAImpl, a0) do { } while (0) 568 #define IEM_MC_CALL_FPU_AIMPL_2(a_pfnAImpl, a0, a1) do { } while (0) 569 #define IEM_MC_CALL_FPU_AIMPL_3(a_pfnAImpl, a0, a1, a3) do { } while (0) 577 #define IEM_MC_CALL_FPU_AIMPL_1(a_pfnAImpl, a0) \ 578 do { CHK_CALL_ARG(a0, 0); } while (0) 579 #define IEM_MC_CALL_FPU_AIMPL_2(a_pfnAImpl, a0, a1) \ 580 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); } while (0) 581 #define IEM_MC_CALL_FPU_AIMPL_3(a_pfnAImpl, a0, a1, a2) \ 582 do { CHK_CALL_ARG(a0, 0); CHK_CALL_ARG(a1, 1); CHK_CALL_ARG(a2, 2); } while (0) 570 583 #define IEM_MC_SET_FPU_RESULT(a_FpuData, a_FSW, a_pr80Value) do { } while (0) 571 584 #define IEM_MC_PUSH_FPU_RESULT(a_FpuData) do { } while (0)
Note:
See TracChangeset
for help on using the changeset viewer.