[Webkit-unassigned] [Bug 126985] Source/WTF/wtf/Atomics.h:300: Error: bad register name `%bpl'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 16 04:41:29 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=126985


Alberto Garcia <berto at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #221366|                            |review?
               Flag|                            |




--- Comment #3 from Alberto Garcia <berto at igalia.com>  2014-01-16 04:39:04 PST ---
Created an attachment (id=221366)
 --> (https://bugs.webkit.org/attachment.cgi?id=221366&action=review)
Patch

The problem is that with the "r" constraint we are telling gcc to put
'newValue' into any general register, which is then used as an operand
for cmpxchgb.

However in i386 not all registers allow access to their lower byte,
which is what we need here.

The "q" constraint ensures that in 32-bit mode only the a, b, c and d
registers are used.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list