Again a libc-movaps bugfix. Arghhh!
authortwisti <none@none>
Fri, 29 Apr 2005 18:55:09 +0000 (18:55 +0000)
committertwisti <none@none>
Fri, 29 Apr 2005 18:55:09 +0000 (18:55 +0000)
src/vm/jit/x86_64/asmpart.S

index c27f3af9f6e7a10eb0eaee8017ba08d5681c83da..1695ebae4a10b6b9a063a3973408e835a92aa016 100644 (file)
@@ -28,7 +28,7 @@
             Reinhard Grafl
             Christian Thalinger
 
-   $Id: asmpart.S 2411 2005-04-29 15:18:14Z twisti $
+   $Id: asmpart.S 2414 2005-04-29 18:55:09Z twisti $
 
 */
 
@@ -855,7 +855,7 @@ noflt:
 *******************************************************************************/
 
 asm_wrapper_patcher:
-       sub     $(18*8),%rsp                /* stack frame (16-byte aligned)      */
+       sub     $(17*8),%rsp                /* stack frame (16-byte aligned)      */
 
        SAVE_ARGUMENT_REGISTERS
        SAVE_TEMPORARY_REGISTERS
@@ -864,8 +864,8 @@ asm_wrapper_patcher:
        mov     itmp2,16*8(%rsp)            /* can be used by some instructions   */
 
        mov     %rsp,a0                     /* pass stack pointer                 */
-       add     $(19*8),a0                  /* skip patcher function pointer      */
-       mov     18*8(%rsp),itmp3            /* get function pointer               */
+       add     $(18*8),a0                  /* skip patcher function pointer      */
+       mov     17*8(%rsp),itmp3            /* get function pointer               */
        call    *itmp3                      /* call the patcher function          */
        mov     v0,itmp3                    /* save return value                  */
 
@@ -875,7 +875,7 @@ asm_wrapper_patcher:
        mov     15*8(%rsp),itmp1            /* restore itmp1 and itmp2            */
        mov     16*8(%rsp),itmp2            /* can be used by some instructions   */
 
-       add     $((4+18)*8),%rsp            /* remove stack frame, keep ra        */
+       add     $((4+17)*8),%rsp            /* remove stack frame, keep ra        */
 
        test    itmp3,itmp3                 /* exception thrown?                  */
        jz      L_asm_wrapper_patcher_exception