Changeset 15233


Ignore:
Timestamp:
Mar 5, 2012, 8:23:20 AM (7 years ago)
Author:
gb
Message:

win64 doesn't laugh and play like the other children

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-asmutils64.s

    r15229 r15233  
    277277        __endif
    278278
    279 /* zero N (%rsi) dnodes, starting at the dnode-aligned address in %rdi */
     279/* zero N (%carg1) dnodes, starting at the dnode-aligned address in %carg0 */
    280280_exportfn(C(zero_dnodes))
    281281        __(pxor %xmm0,%xmm0)
    282         __(cmpq $0,%rsi)
     282        __(cmpq $0,%carg1)
    283283        __(jmp 1f)
    284 0:      __(movdqa %xmm0,(%rdi))
    285         __(lea 16(%rdi),%rdi)
    286         __(subq $1,%rsi)
     2840:      __(movdqa %xmm0,(%carg0))
     285        __(lea 16(%carg0),%carg0)
     286        __(subq $1,%carg1)
    2872871:      __(jne 0b)
    288288        __(repret)
Note: See TracChangeset for help on using the changeset viewer.