From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8871 invoked by alias); 29 Aug 2019 07:54:07 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 8863 invoked by uid 89); 29 Aug 2019 07:54:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=Attached, HX-Received:Thu, day X-HELO: mail-io1-f41.google.com Received: from mail-io1-f41.google.com (HELO mail-io1-f41.google.com) (209.85.166.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Aug 2019 07:54:05 +0000 Received: by mail-io1-f41.google.com with SMTP id u185so1266267iod.10 for ; Thu, 29 Aug 2019 00:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=joPymFwCwz6XWyN+ygzFoqyoo5M8ed5izVbfjHb95QQ=; b=e7eO3rsRIMH45v/V+cTHedsOGs66D0inZmyeIsNfmkbcEqv2M6aQh8WvD9eO44s6Ro XFZRj7o/c6/t0T3VEbuvS4ibZoIFY8Aef3c/2dMs0x3jRYEXaXYEGEcjjCkbvZou5cm2 2uQIzyx0YJrAg6NGvleJQMen4+wa/ltCAyKGVLOoabtu+h3BrZOz5FNxxt81lyL0OzM8 ijYcsgy+s7aL2YjaBJd//WuG0gkJYQtUorYhIr1yQ9fc0r9SlK3LZi1AoqCQEpJerc+S Z0xpUgXUcXv/41r7gU4ZT/MN3zIwC5yN5HikbzsV+9CltdlpnqU/GLlMlNiHVQFiubv/ TORw== MIME-Version: 1.0 References: In-Reply-To: From: Uros Bizjak Date: Thu, 29 Aug 2019 08:49:00 -0000 Message-ID: Subject: Re: [PATCH, i386]: Improve STV conversion of shifts To: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-08/txt/msg01945.txt.bz2 On Wed, Aug 28, 2019 at 5:12 PM Uros Bizjak wrote: > > Attached patch improves costing for STV shifts and corrects reject > condition for out of range shift count operands. > > 2019-08-28 Uro=C5=A1 Bizjak > > * config/i386/i386-features.c > (general_scalar_chain::compute_convert_gain): > Correct cost for double-word shifts. > (general_scalar_to_vector_candidate_p): Reject count operands > greater or equal to mode bitsize. > > Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. > > Committed to mainline SVN. Ouch... I mixed up patches and actually committed the patch that removes maximum from cost of sse<->int moves. I can leave the patch for a day, so we can see the effects of the cost change, and if the patch creates problems, I'll revert it. Sorry for the mixup, Uros.