https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59432

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|ian at airs dot com                |ubizjak at gmail dot com

--- Comment #12 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 33719
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33719&action=edit
Patch to enable unconditional use of %ebx in
atomic_compare_and_swap<dwi>_doubleword pattern

Patch in testing.

Now that %ebx is not fixed anymore, we can always use it and avoid all PIC
related complications in atomic_compare_and_swap<dwi>_doubleword pattern.

Attached patch fixes sync/atomic on CentOS 5 and doesn't regress in Fedora 20.

The patch in effect reverts Ian's patch at [1].

[1] https://gcc.gnu.org/ml/gcc-patches/2013-11/msg00309.html

Reply via email to