VirtualBox

Ignore:
Timestamp:
Dec 5, 2023 12:54:55 PM (12 months ago)
Author:
vboxsync
Message:

VMM/IEM: optimize todo. bugref:10371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstOneByte.cpp.h

    r102437 r102473  
    58375837            IEM_MC_CALC_RM_EFF_ADDR(GCPtrEffSrc, bRm, 0);
    58385838            IEMOP_HLP_DONE_DECODING_NO_LOCK_PREFIX();
     5839            /** @todo optimize: This value casting/masking can be skipped if addr-size ==
     5840             *        operand-size, which is usually the case.  It'll save an instruction
     5841             *        and a register. */
    58395842            IEM_MC_LOCAL(uint16_t, u16Cast);
    58405843            IEM_MC_ASSIGN_TO_SMALLER(u16Cast, GCPtrEffSrc);
     
    58495852            IEM_MC_CALC_RM_EFF_ADDR(GCPtrEffSrc, bRm, 0);
    58505853            IEMOP_HLP_DONE_DECODING_NO_LOCK_PREFIX();
     5854            /** @todo optimize: This value casting/masking can be skipped if addr-size ==
     5855             *        operand-size, which is usually the case.  It'll save an instruction
     5856             *        and a register. */
    58515857            IEM_MC_LOCAL(uint32_t, u32Cast);
    58525858            IEM_MC_ASSIGN_TO_SMALLER(u32Cast, GCPtrEffSrc);
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