VirtualBox

Changeset 102449 in vbox


Ignore:
Timestamp:
Dec 4, 2023 1:10:31 PM (12 months ago)
Author:
vboxsync
Message:

VMM/IEM: movsx & movzx from registers. [arm build fix] bugref:10371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/armv8.h

    r102447 r102449  
    30283028DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrSxtb(uint32_t iRegResult, uint32_t iRegSrc, bool f64Bit = true)
    30293029{
    3030     return Armv8A64MkInstrSbfm(0, iRegResult, iRegSrc, 0, 7, f64Bit);
     3030    return Armv8A64MkInstrSbfm(iRegResult, iRegSrc, 0, 7, f64Bit);
    30313031}
    30323032
     
    30363036DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrSxth(uint32_t iRegResult, uint32_t iRegSrc, bool f64Bit = true)
    30373037{
    3038     return Armv8A64MkInstrSbfm(0, iRegResult, iRegSrc, 0, 15, f64Bit);
     3038    return Armv8A64MkInstrSbfm(iRegResult, iRegSrc, 0, 15, f64Bit);
    30393039}
    30403040
     
    30443044DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrSxtw(uint32_t iRegResult, uint32_t iRegSrc)
    30453045{
    3046     return Armv8A64MkInstrSbfm(0, iRegResult, iRegSrc, 0, 31, true /*f64Bit*/);
     3046    return Armv8A64MkInstrSbfm(iRegResult, iRegSrc, 0, 31, true /*f64Bit*/);
    30473047}
    30483048
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