VirtualBox

Changeset 104301 in vbox


Ignore:
Timestamp:
Apr 11, 2024 9:14:39 PM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162777
Message:

VMM/IEM: Shortened down the 8-bit and 16-bit ROL ARM assembly a little. bugref:10376

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllAImpl-arm64.S

    r104300 r104301  
    723723.ifne \a_cBits < 32
    724724        and     w2, w2, #(\a_cBits - 1)
    725         neg     w3, w2
    726         and     w3, w3, #(\a_cBits - 1)
     725        neg     w3, w2                          /* the count is MODed by the data size, so this is safe. */
    727726        ldr\a_LdStSuff  w8, [x1]
    728         lslv    w9, w8, w2
    729         lsrv    w10, w8, w3
    730         orr     w9, w9, w10
     727        orr     w8, w8, w8, LSL #(32 - \a_cBits) /* place a copy of the value at the top of the register, ready to be roated in */
     728        rorv    w9, w8, w2
    731729        str\a_LdStSuff  w9, [x1]
    732         and     w9, w9, #(RT_BIT_32(\a_cBits) - 1)
    733730.else
    734731        neg     w3, w2                          /* the count is MODed by the data size, so this is safe. */
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