diff options
| author | Witold Baryluk <baryluk@smp.if.uj.edu.pl> | 2010-09-13 18:57:35 +0100 | 
|---|---|---|
| committer | José Fonseca <jfonseca@vmware.com> | 2010-09-13 18:58:50 +0100 | 
| commit | c40858fa0dac28dc5096973ac267630ba5725003 (patch) | |
| tree | c505ffe34ed1071e43862fcfcc9b1c7723bb3fbf | |
| parent | e7eff0cfcef5c549678779e3c1def950feae4fb9 (diff) | |
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>
| -rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_tri.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 3b7fd5d154..53ffb95505 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -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); | 
