Fast thread-local storage for OpenGL drivers

Gareth Hughes gareth at nvidia.com
Sun Feb 23 20:11:03 CST 2003


Ulrich Weigand wrote:
> 
> From what I can see, you are actually getting LE model code
> (omitting the ebp stuff which you can avoid using 
> -fomit-frame-pointer):
> 
>         movl    %gs:0, %eax
>         movl    __foo_dispatch at NTPOFF(%eax), %edx
>         movl    (%edx), %ecx
>         jmp     *%ecx
> 
> Note that NTPOFF is used; for IE, you'd see INDNTPOFF 
> or GOTNTPOFF and an additional indirection.

Right, thanks!  Makes sense.

-- 
Gareth Hughes (gareth at nvidia.com)
OpenGL Developer, NVIDIA Corporation



More information about the wine-devel mailing list