Module: Mesa Branch: master Commit: b97c75e6a3a95be503f0509be0791a21b4d0f8d8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b97c75e6a3a95be503f0509be0791a21b4d0f8d8
Author: José Fonseca <jfons...@vmware.com> Date: Mon Sep 13 09:24:09 2010 +0100 llvmpipe: use gcc asm only with gcc --- src/gallium/drivers/llvmpipe/lp_setup_tri.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 2cd10ed..f0c74f8 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -445,7 +445,7 @@ do_triangle_ccw(struct lp_setup_context *setup, * * Undefined if no zero exists, so code should check against ~0UL first. */ -#if defined(PIPE_ARCH_X86) +#if defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86) static inline unsigned fls(unsigned word) { asm("bsr %1,%0" _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit