re PR target/55981 (std::atomic store is split in two smaller stores)
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 17 Jan 2013 16:24:54 +0000 (17:24 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 17 Jan 2013 16:24:54 +0000 (17:24 +0100)
commit8abaebcd4c6fa25ccdd2186d8ea943eeff807938
treeb7898c195d3c06960e76ef62961462135d90f289
parent3f5da2852e82e525acc94944754e59ab4c6c4732
re PR target/55981 (std::atomic store is split in two smaller stores)

PR target/55981
* config/i386/sync.md (atomic_store<mode>): Always generate SWImode
store through atomic_store<mode>_1.
(atomic_store<mode>_1): Macroize insn using SWI mode iterator.

testsuite/ChangeLog:

PR target/55981
* gcc.target/pr55981.c: New test.

From-SVN: r195273
gcc/ChangeLog
gcc/config/i386/sync.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr55981.c [new file with mode: 0644]