VirtualBox

Ignore:
Timestamp:
Sep 19, 2024 9:16:19 PM (5 months ago)
Author:
vboxsync
Message:

VMM/IEM: More native eflag stats. Added IEMNATIVE_WITH_EFLAGS_POSTPONING config option (no code). bugref:10720

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMN8veRecompiler.h

    r106099 r106101  
    5050#if 1 || defined(DOXYGEN_RUNNING)
    5151# define IEMNATIVE_WITH_LIVENESS_ANALYSIS
    52 /*# define IEMLIVENESS_EXTENDED_LAYOUT*/
    5352#endif
    5453
     
    6968# define IEMNATIVE_STRICT_EFLAGS_SKIPPING
    7069#endif
     70
     71/** @def IEMNATIVE_WITH_EFLAGS_POSTPONING
     72 * Enables delaying EFLAGS calculations/updating to conditional code paths
     73 * that are (hopefully) not taken so frequently.
     74 *
     75 * This can only help with case where there is an conditional
     76 * call/exception/tbexit that needs the flag, but in the default code stream the
     77 * flag will be clobbered.  Useful for TlbMiss scenarios and sequences of memory
     78 * based instructions clobbering status flags. */
     79#if defined(IEMNATIVE_WITH_LIVENESS_ANALYSIS) || defined(DOXYGEN_RUNNING)
     80# if 0
     81#  define IEMNATIVE_WITH_EFLAGS_POSTPONING
     82# endif
     83#endif
     84
     85/** @def IEMLIVENESS_EXTENDED_LAYOUT
     86 * Enables the extended liveness data layout.  */
     87#if defined(IEMNATIVE_WITH_EFLAGS_POSTPONING) || defined(DOXYGEN_RUNNING) || 0
     88# define IEMLIVENESS_EXTENDED_LAYOUT
     89#endif
     90
    7191
    7292#ifdef VBOX_WITH_STATISTICS
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