aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2017-02-19 18:34:27 +0100
committerUros Bizjak <uros@gcc.gnu.org>2017-02-19 18:34:27 +0100
commit74705cc6492f04d4d39d972322a57bd2e3a78f33 (patch)
tree1bd9966614a91439db48cba7597aaf09fa6ca9c8 /gcc
parent1dee318ad864c606879b7807f768f9be0d0baa1d (diff)
downloadgcc-74705cc6492f04d4d39d972322a57bd2e3a78f33.zip
gcc-74705cc6492f04d4d39d972322a57bd2e3a78f33.tar.gz
gcc-74705cc6492f04d4d39d972322a57bd2e3a78f33.tar.bz2
Revert:
2016-05-30 Uros Bizjak <ubizjak@gmail.com> * config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)". From-SVN: r245577
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/sync.md2
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d404f8f..f72bb1c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2017-02-19 Uros Bizjak <ubizjak@gmail.com>
+
+ Revert:
+ 2016-05-30 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)".
+
2017-02-19 Jonathan Wakely <jwakely@redhat.com>
PR c++/69523
diff --git a/gcc/config/i386/sync.md b/gcc/config/i386/sync.md
index 7924d83..20d46fe 100644
--- a/gcc/config/i386/sync.md
+++ b/gcc/config/i386/sync.md
@@ -98,7 +98,7 @@
(unspec:BLK [(match_dup 0)] UNSPEC_MFENCE))
(clobber (reg:CC FLAGS_REG))]
"!(TARGET_64BIT || TARGET_SSE2)"
- "lock{%;} or{l}\t{$0, -4(%%esp)|DWORD PTR [esp-4], 0}"
+ "lock{%;} or{l}\t{$0, (%%esp)|DWORD PTR [esp], 0}"
[(set_attr "memory" "unknown")])
(define_expand "mem_thread_fence"