VirtualBox

Changeset 10849

Show
Ignore:
Timestamp:
07/24/08 11:13:53 (3 months ago)
Author:
vboxsync
Message:

32 bits build fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0A.asm

    r9915 r10849  
    10931093    mov     ecx, esi 
    10941094 %else 
    1095     movzx   rax, ecx 
     1095    ; from http://www.cs.cmu.edu/~fp/courses/15213-s06/misc/asm64-handout.pdf: 
     1096    ; ``Perhaps unexpectedly, instructions that move or generate 32-bit register 
     1097    ;   values also set the upper 32 bits of the register to zero. Consequently 
     1098    ;   there is no need for an instruction movzlq.'' 
     1099    mov     eax, ecx 
    10961100    mov     ecx, edx 
    10971101 %endif 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy