re PR target/36793 (x86-64 does not get __sync_synchronize right)
commit148153c18ccc773df6b67034796295a489658814
authorUros Bizjak <ubizjak@gmail.com>
Mon, 24 Nov 2008 16:55:49 +0000 (24 17:55 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 24 Nov 2008 16:55:49 +0000 (24 17:55 +0100)
treee40a0ae9bc586efd02ccf4fef83cb95e3bb08237
parenta03826d1d56e819d6e6d0bd2ce96d96a931dc370
re PR target/36793 (x86-64 does not get __sync_synchronize right)

* config/i386/i386.md (UNSPECV_CMPXCHG): Rename from
UNSPECV_CMPXCHG_[12].
* config/i386/sync.md: Use UNSPECV_CMPXCHG instead of
UNSPECV_CMPXCHG_[12].

PR target/36793
* config/i386/sync.md (memory_barrier): New expander.

From-SVN: r142160
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/i386/sync.md