diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2005-12-11 07:42:37 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2005-12-11 07:42:37 +0000 |
commit | 3e1a5a38ae1d5f47d4a30fde2160ae1132cdd98b (patch) | |
tree | 7aadee203ef817be72c0e95cb630a40822ef4ff8 /src/mesa/x86-64/glapi_x86-64.S | |
parent | 790ab0a0b6eda2f21f7d1d96a7f542d58078a3f0 (diff) | |
download | external_mesa3d-3e1a5a38ae1d5f47d4a30fde2160ae1132cdd98b.zip external_mesa3d-3e1a5a38ae1d5f47d4a30fde2160ae1132cdd98b.tar.gz external_mesa3d-3e1a5a38ae1d5f47d4a30fde2160ae1132cdd98b.tar.bz2 |
Regenerate for recent glapi changes (GetQueryObjecti64vEXT).
Diffstat (limited to 'src/mesa/x86-64/glapi_x86-64.S')
-rw-r--r-- | src/mesa/x86-64/glapi_x86-64.S | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/src/mesa/x86-64/glapi_x86-64.S b/src/mesa/x86-64/glapi_x86-64.S index 3bbce4b..e94d83d 100644 --- a/src/mesa/x86-64/glapi_x86-64.S +++ b/src/mesa/x86-64/glapi_x86-64.S @@ -30809,6 +30809,80 @@ GL_PREFIX(StencilMaskSeparate): #endif /* defined(GLX_USE_TLS) */ .size GL_PREFIX(StencilMaskSeparate), .-GL_PREFIX(StencilMaskSeparate) + .p2align 4,,15 + .globl GL_PREFIX(GetQueryObjecti64vEXT) + .type GL_PREFIX(GetQueryObjecti64vEXT), @function +GL_PREFIX(GetQueryObjecti64vEXT): +#if defined(GLX_USE_TLS) + call _x86_64_get_dispatch@PLT + movq 6528(%rax), %r11 + jmp *%r11 +#elif defined(PTHREADS) + pushq %rdi + pushq %rsi + pushq %rdx + call _x86_64_get_dispatch@PLT + popq %rdx + popq %rsi + popq %rdi + movq 6528(%rax), %r11 + jmp *%r11 +#else + movq _glapi_Dispatch(%rip), %rax + testq %rax, %rax + je 1f + movq 6528(%rax), %r11 + jmp *%r11 +1: + pushq %rdi + pushq %rsi + pushq %rdx + call _glapi_get_dispatch + popq %rdx + popq %rsi + popq %rdi + movq 6528(%rax), %r11 + jmp *%r11 +#endif /* defined(GLX_USE_TLS) */ + .size GL_PREFIX(GetQueryObjecti64vEXT), .-GL_PREFIX(GetQueryObjecti64vEXT) + + .p2align 4,,15 + .globl GL_PREFIX(GetQueryObjectui64vEXT) + .type GL_PREFIX(GetQueryObjectui64vEXT), @function +GL_PREFIX(GetQueryObjectui64vEXT): +#if defined(GLX_USE_TLS) + call _x86_64_get_dispatch@PLT + movq 6536(%rax), %r11 + jmp *%r11 +#elif defined(PTHREADS) + pushq %rdi + pushq %rsi + pushq %rdx + call _x86_64_get_dispatch@PLT + popq %rdx + popq %rsi + popq %rdi + movq 6536(%rax), %r11 + jmp *%r11 +#else + movq _glapi_Dispatch(%rip), %rax + testq %rax, %rax + je 1f + movq 6536(%rax), %r11 + jmp *%r11 +1: + pushq %rdi + pushq %rsi + pushq %rdx + call _glapi_get_dispatch + popq %rdx + popq %rsi + popq %rdi + movq 6536(%rax), %r11 + jmp *%r11 +#endif /* defined(GLX_USE_TLS) */ + .size GL_PREFIX(GetQueryObjectui64vEXT), .-GL_PREFIX(GetQueryObjectui64vEXT) + .globl GL_PREFIX(ArrayElementEXT) ; .set GL_PREFIX(ArrayElementEXT), GL_PREFIX(ArrayElement) .globl GL_PREFIX(BindTextureEXT) ; .set GL_PREFIX(BindTextureEXT), GL_PREFIX(BindTexture) .globl GL_PREFIX(DrawArraysEXT) ; .set GL_PREFIX(DrawArraysEXT), GL_PREFIX(DrawArrays) |