VirtualBox

Changeset 96952 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Sep 30, 2022 11:22:32 AM (2 years ago)
Author:
vboxsync
Message:

IEM: Tweaked so that vpinsrw has the same instruction length with GCC/MSVC (previously produced 6 bytes per entry on Linux, 7 on Windows).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllAImpl.asm

    r96945 r96952  
    53335333        lea     T0, [A3 + A3*2]         ; sizeof(vpinsrw+ret) == 6: (A3 * 3) *2
    53345334        lea     T1, [T1 + T0*2]
     5335        mov     A1, A2                  ; A2 requires longer encoding on Windows
    53355336        call    T1
    53365337        movdqu  [A0], xmm0
     
    53415342 %rep 256
    53425343.imm %+ bImm:
    5343        vpinsrw   xmm0, xmm0, A2_32, bImm
     5344       vpinsrw   xmm0, xmm0, A1_32, bImm
    53445345       ret
    53455346  %assign bImm bImm + 1
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