VirtualBox

Changeset 101329 in vbox for trunk/include


Ignore:
Timestamp:
Oct 3, 2023 1:57:04 PM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159329
Message:

fixing lnx64dep2 burn caused by doxygen warnings for r159231, changed iRegBase arguments to iBaseReg documented one (likely typos)

File:
1 edited

Legend:

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

    r101304 r101329  
    23332333 */
    23342334DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrStLdImm9Ex(uint32_t u32Opcode, ARMV8A64INSTRLDSTTYPE enmType,
    2335                                                       uint32_t iReg, uint32_t iRegBase, int32_t i9ImmDisp = 0)
     2335                                                      uint32_t iReg, uint32_t iBaseReg, int32_t i9ImmDisp = 0)
    23362336{
    2337     Assert(i9ImmDisp >= -256 && i9ImmDisp < 256); Assert(iReg < 32); Assert(iRegBase < 32);
     2337    Assert(i9ImmDisp >= -256 && i9ImmDisp < 256); Assert(iReg < 32); Assert(iBaseReg < 32);
    23382338    return u32Opcode
    23392339         | (((uint32_t)enmType & (uint32_t)kArmv8A64InstrLdStType_Mask_Size) << (30 - kArmv8A64InstrLdStType_Shift_Size))
     
    23412341         | (((uint32_t)enmType & (uint32_t)kArmv8A64InstrLdStType_Mask_Opc)  << (22 - kArmv8A64InstrLdStType_Shift_Opc))
    23422342         | (((uint32_t)i9ImmDisp & UINT32_C(0x1ff)) << 12)
    2343          | (iRegBase                                <<  5)
     2343         | (iBaseReg                                <<  5)
    23442344         | iReg;
    23452345}
     
    23562356 */
    23572357DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrSturLdur(ARMV8A64INSTRLDSTTYPE enmType,
    2358                                                     uint32_t iReg, uint32_t iRegBase, int32_t i9ImmDisp = 0)
     2358                                                    uint32_t iReg, uint32_t iBaseReg, int32_t i9ImmDisp = 0)
    23592359{
    23602360                                                          /*    3         2         1         0 */
    23612361                                                          /*   10987654321098765432109876543210 */
    23622362    return Armv8A64MkInstrStLdImm9Ex(UINT32_C(0x38000000) /* 0b00111000000000000000000000000000 */,
    2363                                      enmType, iReg, iRegBase, i9ImmDisp);
     2363                                     enmType, iReg, iBaseReg, i9ImmDisp);
    23642364}
    23652365
     
    23752375 */
    23762376DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrStrLdrPostIndex9(ARMV8A64INSTRLDSTTYPE enmType,
    2377                                                             uint32_t iReg, uint32_t iRegBase, int32_t i9ImmDisp = 0)
     2377                                                            uint32_t iReg, uint32_t iBaseReg, int32_t i9ImmDisp = 0)
    23782378{
    23792379    Assert(enmType != kArmv8A64InstrLdStType_Prefetch);   /*    3         2         1         0 */
    23802380                                                          /*   10987654321098765432109876543210 */
    23812381    return Armv8A64MkInstrStLdImm9Ex(UINT32_C(0x38000400) /* 0b00111000000000000000010000000000 */,
    2382                                      enmType, iReg, iRegBase, i9ImmDisp);
     2382                                     enmType, iReg, iBaseReg, i9ImmDisp);
    23832383}
    23842384
     
    23942394 */
    23952395DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrStrLdrPreIndex9(ARMV8A64INSTRLDSTTYPE enmType,
    2396                                                            uint32_t iReg, uint32_t iRegBase, int32_t i9ImmDisp = 0)
     2396                                                           uint32_t iReg, uint32_t iBaseReg, int32_t i9ImmDisp = 0)
    23972397{
    23982398    Assert(enmType != kArmv8A64InstrLdStType_Prefetch);   /*    3         2         1         0 */
    23992399                                                          /*   10987654321098765432109876543210 */
    24002400    return Armv8A64MkInstrStLdImm9Ex(UINT32_C(0x38000c00) /* 0b00111000000000000000110000000000 */,
    2401                                      enmType, iReg, iRegBase, i9ImmDisp);
     2401                                     enmType, iReg, iBaseReg, i9ImmDisp);
    24022402}
    24032403
     
    24132413 */
    24142414DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrSttrLdtr(ARMV8A64INSTRLDSTTYPE enmType,
    2415                                                     uint32_t iReg, uint32_t iRegBase, int32_t i9ImmDisp = 0)
     2415                                                    uint32_t iReg, uint32_t iBaseReg, int32_t i9ImmDisp = 0)
    24162416{
    24172417    Assert(enmType != kArmv8A64InstrLdStType_Prefetch);
     
    24202420                                                          /*   10987654321098765432109876543210 */
    24212421    return Armv8A64MkInstrStLdImm9Ex(UINT32_C(0x38000800) /* 0b00111000000000000000100000000000 */,
    2422                                      enmType, iReg, iRegBase, i9ImmDisp);
     2422                                     enmType, iReg, iBaseReg, i9ImmDisp);
    24232423}
    24242424
     
    24352435 */
    24362436DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrStLdRUOff(ARMV8A64INSTRLDSTTYPE enmType,
    2437                                                      uint32_t iReg, uint32_t iRegBase, uint32_t u12ImmDisp)
     2437                                                     uint32_t iReg, uint32_t iBaseReg, uint32_t u12ImmDisp)
    24382438{
    24392439    Assert(u12ImmDisp < 4096U);
    24402440    Assert(iReg < 32);          /*    3         2         1         0 */
    2441     Assert(iRegBase < 32);      /*   10987654321098765432109876543210 */
     2441    Assert(iBaseReg < 32);      /*   10987654321098765432109876543210 */
    24422442    return UINT32_C(0x39000000) /* 0b00111001000000000000000000000000 */
    24432443         | (((uint32_t)enmType & (uint32_t)kArmv8A64InstrLdStType_Mask_Size) << (30 - kArmv8A64InstrLdStType_Shift_Size))
     
    24452445         | (((uint32_t)enmType & (uint32_t)kArmv8A64InstrLdStType_Mask_Opc)  << (22 - kArmv8A64InstrLdStType_Shift_Opc))
    24462446         | (u12ImmDisp       << 10)
    2447          | (iRegBase         <<  5)
     2447         | (iBaseReg         <<  5)
    24482448         | iReg;
    24492449}
     
    24702470 */
    24712471DECL_FORCE_INLINE(uint32_t) Armv8A64MkInstrStLdRegIdx(ARMV8A64INSTRLDSTTYPE enmType,
    2472                                                       uint32_t iReg, uint32_t iRegBase, uint32_t iRegIndex,
     2472                                                      uint32_t iReg, uint32_t iBaseReg, uint32_t iRegIndex,
    24732473                                                      ARMV8A64INSTRLDSTEXTEND enmExtend = kArmv8A64InstrLdStExtend_Lsl,
    24742474                                                      bool fShifted = false)
     
    24762476    Assert(iRegIndex < 32);
    24772477    Assert(iReg < 32);          /*    3         2         1         0 */
    2478     Assert(iRegBase < 32);      /*   10987654321098765432109876543210 */
     2478    Assert(iBaseReg < 32);      /*   10987654321098765432109876543210 */
    24792479    return UINT32_C(0x38200800) /* 0b00111000001000000000100000000000 */
    24802480         | (((uint32_t)enmType & (uint32_t)kArmv8A64InstrLdStType_Mask_Size) << (30 - kArmv8A64InstrLdStType_Shift_Size))
     
    24842484         | ((uint32_t)enmExtend  << 13)
    24852485         | ((uint32_t)fShifted   << 12)
    2486          | (iRegBase             <<  5)
     2486         | (iBaseReg             <<  5)
    24872487         | iReg;
    24882488}
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