VirtualBox

Changeset 58756 in vbox


Ignore:
Timestamp:
Nov 18, 2015 11:55:07 PM (9 years ago)
Author:
vboxsync
Message:

ASMBitFirstSet/Clear.asm: 64-bit bugfixes

Location:
trunk/src/VBox/Runtime/common/asm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asm/ASMBitFirstClear.asm

    r58755 r58756  
    9191        xor     eax, [es:xDI]           ; eax = NOT [rdi]
    9292%else
    93         xor     eax, [edi]              ; eax = NOT [rdi]
     93        xor     eax, [xDI]              ; eax = NOT [rdi]
    9494%endif
    9595        sub     xDI, xDX
  • trunk/src/VBox/Runtime/common/asm/ASMBitFirstSet.asm

    r58755 r58756  
    8989%if ARCH_BITS == 16
    9090        movzx   edi, di
    91         mov     eax, [es:xDI]           ; eax = NOT [rdi]
     91        mov     eax, [es:xDI]
    9292%else
    93         mov     eax, [edi]              ; eax = NOT [rdi]
     93        mov     eax, [xDI]
    9494%endif
    9595        sub     xDI, xDX
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