VirtualBox

Ignore:
Timestamp:
Nov 29, 2023 11:12:52 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160513
Message:

VMM/IEM: Use UBFX instead of BFI for loading a high 8-bit register into a GPR (iemNativeEmitLoadGprFromGpr8Hi). bugref:10371

File:
1 edited

Legend:

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

    r102370 r102377  
    718718
    719719#elif RT_ARCH_ARM64
    720     /* bfi gprdst, gprsrc, #8, #8 */
     720    /* ubfx gprdst, gprsrc, #8, #8 - gprdst = gprsrc[15:8] */
    721721    uint32_t * const pu32CodeBuf = iemNativeInstrBufEnsure(pReNative, off, 1);
    722     pu32CodeBuf[off++] = Armv8A64MkInstrBfi(iGprDst, iGprSrc, 8, 8, false /*f64Bit*/);
     722    pu32CodeBuf[off++] = Armv8A64MkInstrUbfx(iGprDst, iGprSrc, 8, 8, false /*f64Bit*/);
    723723
    724724#else
Note: See TracChangeset for help on using the changeset viewer.

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