From 74705cc6492f04d4d39d972322a57bd2e3a78f33 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sun, 19 Feb 2017 18:34:27 +0100 Subject: [PATCH] Revert: 2016-05-30 Uros Bizjak * config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)". From-SVN: r245577 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/sync.md | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d404f8f3e48..f72bb1c0cfe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-02-19 Uros Bizjak + + Revert: + 2016-05-30 Uros Bizjak + + * config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)". + 2017-02-19 Jonathan Wakely PR c++/69523 diff --git a/gcc/config/i386/sync.md b/gcc/config/i386/sync.md index 7924d832b7e..20d46fe248e 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" -- 2.30.2