Fixed or forbidden register was spilled

Ulrich Drepper drepper@cygnus.com
Wed Nov 25 23:04:00 GMT 1998


mark@markmitchell.com (Mark Mitchell) writes:

> Does anyone have answers to these questions?

I've posted this a few times already in the Linux mailing listss and
newsgroups.

# define __FD_ZERO(fdsetp) \
  do {                                                                        \
    int __d0, __d1;							      \
  __asm__ __volatile__ ("cld; rep; stosl"				      \
			: "=m" (((__fd_mask *)				      \
				 (fdsetp))[__FDELT (__FD_SETSIZE)]),	      \
			  "=&c" (__d0), "=&D" (__d1)			      \
			: "a" (0), "1" (sizeof (__fd_set)		      \
					/ sizeof (__fd_mask)),		      \
			  "2" ((__fd_mask *) (fdsetp))			      \
			: "memory");					      \
  } while (0)

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Gcc-bugs mailing list