Revert:
authorUros Bizjak <ubizjak@gmail.com>
Sun, 19 Feb 2017 17:34:27 +0000 (18:34 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 19 Feb 2017 17:34:27 +0000 (18:34 +0100)
2016-05-30  Uros Bizjak  <ubizjak@gmail.com>

* config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)".

From-SVN: r245577

gcc/ChangeLog
gcc/config/i386/sync.md

index d404f8f3e4834c3a72777ed9fddb36e052d28b29..f72bb1c0cfe01897c3b87c2f8e39abfebff6894c 100644 (file)
@@ -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
index 7924d832b7e0b0268c1aedf59b7b64d0a6e3e3ab..20d46fe248ed7bde75df02a60bb10f456c9f70ac 100644 (file)
@@ -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"