[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Fast thread-local storage for OpenGL drivers
- From: Gareth Hughes <gareth nvidia com>
- To: "'Ulrich Weigand'" <weigand immd1 informatik uni-erlangen de>
- Cc: phil-list redhat com, brian tungstengraphics com,keith tungstengraphics com, wine-devel winehq com
- Subject: RE: Fast thread-local storage for OpenGL drivers
- Date: Sun, 23 Feb 2003 18:11:03 -0800
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 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 nvidia com)
OpenGL Developer, NVIDIA Corporation
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]