No subject
Tue Aug 30 17:20:58 CDT 2005
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.
Your source code says:
* Should be able to be reduced to:
* movl %gs:__foo_dispatch at ntpoff, %eax
* jmpl *(%eax)
but that's not really a different model, just another way
of accessing LE model variables. This is simply not
implemented in the current gcc i386 backend (yet?).
If this actually makes any noticable difference in
performance, I guess you should ask the i386 gcc folks
to implement it. If you are generating the code yourself,
that doesn't matter anyway.
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand at informatik.uni-erlangen.de
More information about the wine-devel
mailing list