llvmpipe: Change asm to __asm__.

According to gcc documentation both are equivalent,
second are prefered as first can make conflict with existing symbols.

Signed-off-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
Witold Baryluk
2010-09-13 18:57:35 +01:00
committed by José Fonseca
parent e7eff0cfce
commit c40858fa0d
+3 -3
View File
@@ -449,9 +449,9 @@ floor_pot(uint32_t n)
{
assert(n);
#if defined(PIPE_CC_GCC) && defined(PIPE_ARCH_X86)
asm("bsr %1,%0"
: "=r" (n)
: "rm" (n));
__asm__("bsr %1,%0"
: "=r" (n)
: "rm" (n));
return 1 << n;
#else
n |= (n >> 1);