(FD_ZERO): Fix operand numbers in asm input operands.
authorUlrich Drepper <drepper@gcc.gnu.org>
Fri, 14 May 1999 13:33:17 +0000 (13:33 +0000)
committerUlrich Drepper <drepper@gcc.gnu.org>
Fri, 14 May 1999 13:33:17 +0000 (13:33 +0000)
From-SVN: r26933

gcc/fixinc/fixinc.x86-linux-gnu

index ddb1b542e1fe8b4ad9cdf6934c18654e4dfc60d3..d53694d9bfa1aa642b56e4e77e82167de645f4ab 100644 (file)
@@ -46,9 +46,9 @@ cat <<'__EOF__' >$LIB/$file
     int __d0, __d1; \
   __asm__ __volatile__ ("cld; rep; stosl" \
                         : "=&c" (__d0), "=&D" (__d1) \
-                        : "a" (0), "1" (sizeof (__fd_set) \
+                        : "a" (0), "0" (sizeof (__fd_set) \
                                         / sizeof (__fd_mask)), \
-                          "2" ((__fd_mask *) (fdsetp)) \
+                          "1" ((__fd_mask *) (fdsetp)) \
                         : "memory"); \
   } while (0)
 #endif
@@ -83,8 +83,8 @@ cat <<'__EOF__' >$LIB/$file
     int __d0, __d1; \
                __asm__ __volatile__("cld ; rep ; stosl" \
                        : "=&c" (__d0), "=&D" (__d1) \
-                       : "a" (0), "1" (__FDSET_LONGS), \
-                         "2" ((__kernel_fd_set *) (fdsetp)) :"memory"); \
+                       : "a" (0), "0" (__FDSET_LONGS), \
+                         "1" ((__kernel_fd_set *) (fdsetp)) :"memory"); \
   } while (0)
 #endif
 
@@ -118,8 +118,8 @@ cat <<'__EOF__' >$LIB/$file
     int __d0, __d1; \
        __asm__ __volatile__("cld ; rep ; stosl" \
                : "=&c" (__d0), "=&D" (__d1) \
-               : "a" (0), "1" (__FDSET_LONGS), \
-                 "2" ((__fd_set *) (fdsetp)) :"memory"); \
+               : "a" (0), "0" (__FDSET_LONGS), \
+                 "1" ((__fd_set *) (fdsetp)) :"memory"); \
   } while (0)
 #endif