mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
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:
parent
e7eff0cfce
commit
c40858fa0d
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue