re PR go/59432 (sync/atomic FAILs on 32bit x86 systems without .cfi directives)
authorUros Bizjak <ubizjak@gmail.com>
Wed, 15 Oct 2014 17:57:17 +0000 (19:57 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 15 Oct 2014 17:57:17 +0000 (19:57 +0200)
commit1a1db0704b8f1ebf5c22c1b5385c7f919db34d40
tree9a08ff29bf3aff9de93ef0f8623be649e00e2efa
parent1cbd117475aadccc2e29b4de26aea893bbfe8aa8
re PR go/59432 (sync/atomic FAILs on 32bit x86 systems without .cfi directives)

PR go/59432
* config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
Remove the second alternative.
(regprefix): Remove mode attribute.
(atomic_compare_and_swap<mode>): Do not fixup operand 2.
* config/i386/predicates.md (cmpxchg8b_pic_memory_operand): Remove.

Revert:
2013-11-05  Ian Lance Taylor  <iant@google.com>

* config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
If possible, add .cfi directives to record change to bx.
* config/i386/i386.c (ix86_emit_cfi): New function.
* config/i386/i386-protos.h (ix86_emit_cfi): Declare.

From-SVN: r216281
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/predicates.md
gcc/config/i386/sync.md