Changeset 5771


Ignore:
Timestamp:
Jan 21, 2007, 7:31:22 AM (18 years ago)
Author:
Gary Byers
Message:

Don't use save3 in .SPffcall_return_registers (save3 = r11); use save2 (= r13)
instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/x86-spentry64.s

    r5762 r5771  
    41034103        __(push %save2)
    41044104        __(push %save3)
    4105         __(movq macptr.address(%arg_y),%save3)
     4105        __(movq macptr.address(%arg_y),%save2)  /* save2 = %r13, non-volatile */
    41064106        __(push %fn)
    41074107        __(push %ra0)
     
    41404140        __(pop %r9)
    41414141        __(call *%rax)
    4142         __(movq %rax,(%save3))
    4143         __(movq %rdx,8(%save3))
    4144         __(movsd %xmm0,16(%save3))
    4145         __(movsd %xmm1,24(%save3))
     4142        __(movq %rax,(%save2))
     4143        __(movq %rdx,8(%save2))
     4144        __(movsd %xmm0,16(%save2))
     4145        __(movsd %xmm1,24(%save2))
    41464146        __(movq %rbp,%rsp)
    41474147        __ifdef([DARWIN_GS_HACK])
     
    41494149            contains the linear tcr address.  Preserve %rax/%rdx here. */
    41504150         __(set_gs_base(%save0))
    4151          __(movq (%save3),%rax)
    4152          __(movq 8(%save3),%rdx)
    4153          __(movsd 16(%save3),%xmm0)
    4154          __(movsd 24(%save3),%xmm1)
     4151         __(movq (%save2),%rax)
     4152         __(movq 8(%save2),%rdx)
     4153         __(movsd 16(%save2),%xmm0)
     4154         __(movsd 24(%save2),%xmm1)
    41554155        __endif
    41564156        __(movq %rsp,%rcontext:tcr.foreign_sp)       
Note: See TracChangeset for help on using the changeset viewer.