x86ish *.S: Use `stalloc' consistently to allocate space on the stack.
[catacomb] / math / mpx-mul4-x86-sse2.S
index ba7ae6a..0e90541 100644 (file)
@@ -706,8 +706,8 @@ FUNC(mpx_umul4_x86_sse2)
        pushreg esi
        pushreg edi
        setfp
+       stalloc 32
        and     SP, ~15
-       sub     SP, 32
   endprologue
 
        // Prepare for the first iteration.
@@ -821,8 +821,8 @@ FUNC(mpxmont_mul4_x86_sse2)
        pushreg esi
        pushreg edi
        setfp
+       stalloc 112
        and     SP, ~15
-       sub     SP, 112
   endprologue
 
        // Establish the expanded operands.
@@ -968,7 +968,7 @@ FUNC(mpxmont_redc4_x86_sse2)
        pushreg edi
        setfp
        and     SP, ~15
-       sub     SP, 76
+       stalloc 76
   endprologue
 
        // Establish the expanded operands and the blocks-of-4 dv limit.
@@ -1096,8 +1096,8 @@ ENDFUNC
        pushreg esi
        pushreg edi
        setfp
+       stalloc 3*32 + 4*4
        and     SP, ~15
-       sub     SP, 3*32 + 4*4
   endprologue
        mov     eax, \n
        mov     [SP + 104], eax