aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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"