VirtualBox

Changeset 94164 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 11, 2022 9:05:10 AM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: fixed bug in cmpxchg16b worker for gcc targets.

File:
1 edited

Legend:

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

    r94163 r94164  
    10611061        lock cmpxchg16b [rdi]
    10621062
    1063         mov     [rsi], eax
    1064         mov     [rsi + 8], edx
     1063        mov     [rsi], rax
     1064        mov     [rsi + 8], rdx
    10651065        IEM_SAVE_FLAGS       r10, (X86_EFL_ZF), 0 ; clobbers T0+T1 (eax, r11)
    10661066
     
    10721072
    10731073BEGINPROC_FASTCALL iemAImpl_cmpxchg16b_locked, 16
    1074         ; Lazy bird always lock prefixes cmpxchg8b.
     1074        ; Lazy bird always lock prefixes cmpxchg16b.
    10751075        jmp     NAME_FASTCALL(iemAImpl_cmpxchg16b,16,$@)
    10761076ENDPROC iemAImpl_cmpxchg16b_locked
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