https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80706
--- Comment #16 from uros at gcc dot gnu.org --- Author: uros Date: Sun May 14 12:49:55 2017 New Revision: 248032 URL: https://gcc.gnu.org/viewcvs?rev=248032&root=gcc&view=rev Log: Backport from mainline 2017-05-11 Uros Bizjak <ubiz...@gmail.com> PR target/80706 * config/i386/sync.md (UNSPEC_LDX_ATOMIC): New unspec. (UNSPEC_STX_ATOMIC): Ditto. (loaddi_via_sse): New insn. (storedi_via_sse): Ditto. (atomic_loaddi_fpu): Emit loaddi_via_sse and storedi_via_sse. Update corresponding peephole2 patterns. (atomic_storedi_fpu): Ditto. testsuite/ChangeLog: Backport from mainline 2017-05-11 Uros Bizjak <ubiz...@gmail.com> Jakub Jelinek <ja...@redhat.com> PR target/80706 * gcc.target/i386/pr80706.c: New test. 2017-05-11 Uros Bizjak <ubiz...@gmail.com> * gcc.target/i386/pr22152.c: Fix undefined testcase. Remove unnecessary loop. Run on 32-bit targets only. Added: branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr80706.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/i386/sync.md branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/pr22152.c