mapi: Improve the x86 tsd stubs performance.
authorLepton Wu <lepton@chromium.org>
Wed, 30 Oct 2019 00:52:21 +0000 (17:52 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 30 Oct 2019 03:50:05 +0000 (20:50 -0700)
commit1abf05764bacaa8828ffc8b08848d07b1ad3272c
treeaeee1a2e6ba2f44b2262a0ec2033a3c31b1f0a70
parent41407d5e9fcf9b73d402292e64fa9db02c372b5f
mapi: Improve the x86 tsd stubs performance.

This skips touching %ebx most times and it shows that glGetString performance
increased from 114M/s to 120M/s on my desktop.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Lepton Wu <lepton@chromium.org>
src/mapi/entry_x86_tsd.h