RE: Fast thread-local storage for OpenGL drivers
24 Feb
2003
24 Feb
'03
2:11 a.m.
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(a)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(a)nvidia.com) OpenGL Developer, NVIDIA Corporation
8335
Age (days ago)
8335
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gareth Hughes