This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fixed or forbidden register was spilled


>   # 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)

I'm curious: what about the `+' modifier?  Is it more, or less,
appropriate than `=&', or is it only a matter of asthetics? 

Bill
-- 
Leave others their otherness


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]