Commit aa85c7f7 by Ulrich Drepper

(FD_ZERO): Remove unneccessary memory output operand which irritates gcc.

From-SVN: r26890
parent 81d4a072
......@@ -45,9 +45,7 @@ cat <<'__EOF__' >$LIB/$file
do { \
int __d0, __d1; \
__asm__ __volatile__ ("cld; rep; stosl" \
: "=m" (((__fd_mask *) \
(fdsetp))[__FDELT (__FD_SETSIZE)]), \
"=&c" (__d0), "=&D" (__d1) \
: "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "1" (sizeof (__fd_set) \
/ sizeof (__fd_mask)), \
"2" ((__fd_mask *) (fdsetp)) \
......@@ -84,8 +82,7 @@ cat <<'__EOF__' >$LIB/$file
do { \
int __d0, __d1; \
__asm__ __volatile__("cld ; rep ; stosl" \
: "=m" (*(__kernel_fd_set *) (fdsetp)), \
"=&c" (__d0), "=&D" (__d1) \
: "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "1" (__FDSET_LONGS), \
"2" ((__kernel_fd_set *) (fdsetp)) :"memory"); \
} while (0)
......@@ -120,8 +117,7 @@ cat <<'__EOF__' >$LIB/$file
do { \
int __d0, __d1; \
__asm__ __volatile__("cld ; rep ; stosl" \
: "=m" (*(__fd_set *) (fdsetp)), \
"=&c" (__d0), "=&D" (__d1) \
: "=&c" (__d0), "=&D" (__d1) \
: "a" (0), "1" (__FDSET_LONGS), \
"2" ((__fd_set *) (fdsetp)) :"memory"); \
} while (0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment