VirtualBox

Changeset 101909 in vbox for trunk


Ignore:
Timestamp:
Nov 7, 2023 12:51:36 AM (16 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160005
Message:

iprt/armv8.h: Fixed swapped immediates inArmv8A64MkInstrLogicalImm. duh. bugref:10371

File:
1 edited

Legend:

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

    r101908 r101909  
    28812881    Assert(u2Opc < 4); Assert(uImm7SizeLen < (f64Bit ? UINT32_C(0x7f) : UINT32_C(0x3f)));
    28822882    Assert(uImm6Rotations < UINT32_C(0x3f)); Assert(iRegResult < 32); Assert(iRegSrc < 32);
    2883     return ((uint32_t)f64Bit   << 31)
    2884          | (u2Opc              << 29)
     2883    return ((uint32_t)f64Bit                << 31)
     2884         | (u2Opc                           << 29)
    28852885         | UINT32_C(0x12000000)
    2886          | (uImm7SizeLen       << 16)
    2887          | (uImm6Rotations     << 10)
    2888          | (iRegSrc            <<  5)
     2886         | ((uImm7SizeLen & UINT32_C(0x40)) << (17 - 6))
     2887         | (uImm6Rotations                  << 16)
     2888         | ((uImm7SizeLen & UINT32_C(0x3f)) << 10)
     2889         | (iRegSrc                         <<  5)
    28892890         | iRegResult;
    28902891}
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