summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-10-10 04:33:44 +0000
committerRoland McGrath <roland@gnu.org>1994-10-10 04:33:44 +0000
commitbc97238210227dbf62ca48b408a1c12dc5eb5a1f (patch)
tree1fd09af28f0d859983bb1c837fe29a07322d4c53
parent46118b7dd9dad971a847b2483a3557b44259853b (diff)
Use %1 again instead of listing TMP as an input with constraint "1".
This avoids a warning that TMP may be used before set.
-rw-r--r--sysdeps/i386/ffs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/ffs.c b/sysdeps/i386/ffs.c
index 2c783cb947..1e21585874 100644
--- a/sysdeps/i386/ffs.c
+++ b/sysdeps/i386/ffs.c
@@ -34,8 +34,8 @@ DEFUN(ffs, (x), int x)
asm ("xorl %0,%0\n" /* Set CNT to zero. */
"bsfl %2,%1\n" /* Count low bits in X and store in %1. */
"jz nonzero\n" /* Jump if OK, i.e. X was non-zero. */
- "leal 1(%3),%0\n" /* Return bsfl-result plus one on %0. */
- "nonzero:" : "=&a" (cnt), "=r" (tmp) : "rm" (x), "1" (tmp));
+ "leal 1(%1),%0\n" /* Return bsfl-result plus one on %0. */
+ "nonzero:" : "=&a" (cnt), "=r" (tmp) : "rm" (x));
return cnt;
}