SIMD support...

Walter Bright newshound2 at digitalmars.com
Thu Jan 5 22:22:55 PST 2012


On 1/5/2012 7:42 PM, Manu wrote:
> Perhaps I misunderstand, I can't see the problem?
> In the function preamble, you just align it... something like:
>    mov reg, esp ; take a backup of the stack pointer
>    and esp, -16 ; align it
>
> ... function
>
>    mov esp, reg ; restore the stack pointer
>    ret 0

And now you cannot access the function's parameters anymore, because the stack 
offset for them is now variable rather than fixed.


More information about the Digitalmars-d mailing list