Mesa (master): rtasm: Cygwin uses the msabi calling convention on x86_64
Jon TURNEY
jturney at kemper.freedesktop.org
Fri Oct 18 13:17:53 UTC 2013
Module: Mesa
Branch: master
Commit: 72a0f832ecce3d7442964421d9887c518a82cab7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72a0f832ecce3d7442964421d9887c518a82cab7
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Thu Oct 3 21:11:52 2013 +0100
rtasm: Cygwin uses the msabi calling convention on x86_64
Cygwin also uses the msabi calling convention on x86_64, not the sysvabi calling
convention
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Reviewed-by: Brian Paul <brianp at vmware.com>
ignored, and an empty message aborts the commit.
---
src/gallium/auxiliary/rtasm/rtasm_x86sse.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.h b/src/gallium/auxiliary/rtasm/rtasm_x86sse.h
index 67c9bdd..498ca82 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_x86sse.h
+++ b/src/gallium/auxiliary/rtasm/rtasm_x86sse.h
@@ -140,7 +140,7 @@ static INLINE enum x86_target x86_target( struct x86_function* p )
{
#ifdef PIPE_ARCH_X86
return X86_32;
-#elif defined(_WIN64)
+#elif (defined(PIPE_OS_CYGWIN) || defined(PIPE_OS_WINDOWS)) && defined(PIPE_ARCH_X86_64)
return X86_64_WIN64_ABI;
#elif defined(PIPE_ARCH_X86_64)
return X86_64_STD_ABI;
More information about the mesa-commit
mailing list