Clobber "cc" instead of using volatile.

Submitted by:	Christoph Mallon
This commit is contained in:
Ed Schouten 2009-06-13 14:30:08 +00:00
parent d2432adb9a
commit 2b7ceeb0b3

View File

@ -76,7 +76,7 @@ bsfl(u_int mask)
{
u_int result;
__asm __volatile("bsfl %1,%0" : "=r" (result) : "rm" (mask));
__asm("bsfl %1,%0" : "=r" (result) : "rm" (mask) : "cc");
return (result);
}
@ -85,7 +85,7 @@ bsrl(u_int mask)
{
u_int result;
__asm __volatile("bsrl %1,%0" : "=r" (result) : "rm" (mask));
__asm("bsrl %1,%0" : "=r" (result) : "rm" (mask) : "cc");
return (result);
}