From: Uros Bizjak Date: Mon, 30 May 2016 19:06:38 +0000 (+0200) Subject: sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ce542ba4a138f762697778f339da66beeb13991;p=gcc.git sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)". * config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)". From-SVN: r236895 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6a32261af8..537d79c11c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-05-30 Uros Bizjak + + * config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)". + 2016-05-30 Andi Kleen * auto-profile.c (read_profile): Replace asserts with errors @@ -5,7 +9,7 @@ * gcov-io.c (gcov_read_words): Dito. 2016-05-30 Jan Hubicka - + * tree-cfg.c (print_loop): Print likely upper bounds. 2016-05-30 Jan Hubicka diff --git a/gcc/config/i386/sync.md b/gcc/config/i386/sync.md index 9acf5ca8a87..b065e2365ff 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, (%%esp)|DWORD PTR [esp], 0}" + "lock{%;} or{l}\t{$0, -4(%%esp)|DWORD PTR [esp-4], 0}" [(set_attr "memory" "unknown")]) (define_expand "mem_thread_fence"