[ros-bugs] [Bug 3772] InterlockedBitTestAndSet() bug

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Wed Nov 5 13:51:24 CET 2008


http://www.reactos.org/bugzilla/show_bug.cgi?id=3772


hto <hto at dev.null> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #5 from hto <hto at dev.null>  2008-11-05 13:51:23 CET ---
BitScanReverse(), include/psdk/winnt.h:

  __asm__ __volatile__("bsrl %2,%0\n\t"
                       "setnz %1\n\t"
                       :"=&r" (*Index), "=r" (BitPosition)
                       :"rm" (Mask)
                       :"memory");

SETcc instructions require 8-bit operand, but "r" constraint is used. Use "q"
instead.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Ros-bugs mailing list