public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dominik Vogt <vogt@linux.vnet.ibm.com>
To: gcc-patches@gcc.gnu.org
Cc: Andreas Krebbel <krebbel@linux.vnet.ibm.com>,
	       Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Subject: Re: [PATCH] S/390: Optimize atomic_compare_exchange and atomic_compare builtins.
Date: Wed, 05 Apr 2017 13:52:00 -0000	[thread overview]
Message-ID: <20170405135200.GA3230@linux.vnet.ibm.com> (raw)
In-Reply-To: <20170327202735.GA21766@linux.vnet.ibm.com>

On Mon, Mar 27, 2017 at 09:27:35PM +0100, Dominik Vogt wrote:
> The attached patch optimizes the atomic_exchange and
> atomic_compare patterns on s390 and s390x (mostly limited to
> SImode and DImode).  Among general optimizaation, the changes fix
> most of the problems reported in PR 80080:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080
> 
> Bootstrapped and regression tested on a zEC12 with s390 and s390x
> biarch.

New version attached.

v3:

  * Remove sne* patterns.
  * Move alignment check from s390_expand_cs to s390.md.
  * Use s_operand instead of memory_nosymref_operand.
  * Remove memory_nosymref_operand.
  * Allow any CC-mode in cstorecc4 for TARGET_Z196.
  * Fix EQ with TARGET_Z196 in cstorecc4.
  * Duplicate CS patterns for CCZmode.

Bootstrapped and regression tested on a zEC12 with s390 and s390x
biarch.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany

  parent reply	other threads:[~2017-04-05 13:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-27 20:50 Dominik Vogt
2017-03-29 15:22 ` [PATCH v2] " Dominik Vogt
2017-04-05 13:52 ` Dominik Vogt [this message]
2017-04-05 15:25   ` [PATCH] " Ulrich Weigand
2017-04-06  9:35   ` Dominik Vogt
2017-04-06 15:29     ` Ulrich Weigand
2017-04-06 15:34       ` Ulrich Weigand
2017-04-07 14:14   ` Dominik Vogt
2017-04-07 14:34     ` Ulrich Weigand
2017-04-07 15:37       ` Dominik Vogt
2017-04-07 17:22         ` Ulrich Weigand
2017-04-10  9:13           ` Dominik Vogt
2017-04-10  9:21             ` Dominik Vogt
2017-04-10 21:37               ` Ulrich Weigand
2017-04-11  8:11                 ` Andreas Krebbel
2017-04-11 14:21 ` [PATCH v5] " Dominik Vogt
2017-04-24 15:20   ` Ulrich Weigand
2017-04-25  8:04   ` Andreas Krebbel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170405135200.GA3230@linux.vnet.ibm.com \
    --to=vogt@linux.vnet.ibm.com \
    --cc=Ulrich.Weigand@de.ibm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=krebbel@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).