projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6990148
)
llvmpipe: use gcc asm only with gcc
author
José Fonseca
<jfonseca@vmware.com>
Mon, 13 Sep 2010 08:24:09 +0000
(09:24 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 13 Sep 2010 08:24:09 +0000
(09:24 +0100)
src/gallium/drivers/llvmpipe/lp_setup_tri.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_setup_tri.c
b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
index 2cd10ed42017470aebfadb8bb14f079d638f562a..f0c74f8040a3f403c04095ba1f5fc8951cbd6526 100644
(file)
--- 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"