VirtualBox

Changeset 103234 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Feb 7, 2024 12:11:16 AM (12 months ago)
Author:
vboxsync
Message:

VMM/IEM: Liveness analysis, part 8: Propagating EFLAGS annotations to the liveness code, asserting that flag modifications are within the annotations, gather some statistics on potential EFLAGS updating gains. [build fix] bugref:10372 bugref:10375

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/IEMR3.cpp

    r103233 r103234  
    434434
    435435# ifdef VBOX_WITH_IEM_NATIVE_RECOMPILER
     436#  ifdef VBOX_WITH_STATISTICS
    436437        STAMR3RegisterF(pVM, &pVCpu->iem.s.StatNativeLivenessEflCfSkippable,    STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, "Skippable EFLAGS.CF updating",    "/IEM/CPU%u/re/NativeLivenessEFlagsCfSkippable", idCpu);
    437438        STAMR3RegisterF(pVM, &pVCpu->iem.s.StatNativeLivenessEflPfSkippable,    STAMTYPE_COUNTER, STAMVISIBILITY_ALWAYS, STAMUNIT_COUNT, "Skippable EFLAGS.PF updating",    "/IEM/CPU%u/re/NativeLivenessEFlagsPfSkippable", idCpu);
     
    478479        szPat[offFlagChar] = szVal[offFlagChar] = 'O'; STAMR3RegisterPctOfSum(pVM->pUVM, STAMVISIBILITY_ALWAYS, STAMUNIT_PCT, szVal, szPat, "Skippable EFLAGS.OF updating percentage", "/IEM/CPU%u/re/NativeLivenessEFlagsOfSkippablePct", idCpu);
    479480
    480 # endif
     481#  endif /* VBOX_WITH_STATISTICS */
     482# endif /* VBOX_WITH_IEM_NATIVE_RECOMPILER */
    481483
    482484#endif /* VBOX_WITH_IEM_RECOMPILER */
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