On Mon, Sep 29, 2008 at 6:14 PM, Jose Fonseca
<[EMAIL PROTECTED]> wrote:
> Module: Mesa
> Branch: gallium-0.2
> Commit: 5dc8e67078be8b8c42a809311debd275ac7d64a7
> URL:    
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=5dc8e67078be8b8c42a809311debd275ac7d64a7
>
> Author: José Fonseca <[EMAIL PROTECTED]>
> Date:   Tue Sep 30 01:12:52 2008 +0900
>
> tgsi: SSE2 optimized exp2, log2 and pow implementations.
>
> Special care must be taken when calling compiler generated SSE2 functions
> from the runtime generated SSE2: saving the xmm registers, and notify gcc
> the stack is not 16byte aligned.
>
> It would be more efficient to keep the stack pointer 16byte aligned, but
> too hairy, and not consistent in all x86 architectures.
>
> This has been tested in linux x86 and windows x86 userspace. Not tested on
> x86-64 because it is broken for other reasons (even without this change).
>

This was discussed before, but I didn't get around to fix it.
Basically the wrong calling convention is used under linux, and this
clobbers the esi register:
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg34392.html

Stephane

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to