From patchwork Fri Oct 23 14:02:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 1386752 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=iyRApwsR; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CHmCQ0NrBz9sSC for ; Sat, 24 Oct 2020 01:02:55 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4F6673857024; Fri, 23 Oct 2020 14:02:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F6673857024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1603461772; bh=gFv5w7eZ5xOAQl32yr33o+ZhNYSmWYJPXyyVoi1irvI=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=iyRApwsRu8w9prpVWw7vCASphuZjPZKvbZdNVd9SoseUpl1PQV3Htgi/FDadpVqp0 T5eeWyWPT2iIdVndtIZJPkDagcetYXWVm857+t5S1vaW04BNA5nTeMfNwuKFT4DlXR O8CsjZ/UMdW+wFNY6GEHV354hH8D/GxSts+E1gxQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 8B01B3858022 for ; Fri, 23 Oct 2020 14:02:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8B01B3858022 Received: by mail-pf1-x434.google.com with SMTP id e15so1377862pfh.6 for ; Fri, 23 Oct 2020 07:02:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=gFv5w7eZ5xOAQl32yr33o+ZhNYSmWYJPXyyVoi1irvI=; b=jg7CH7yDuF4oO52SIeZfjx7+2O+vBb/Yx9E1AguVqWfBP3B+ND6KZQWwoaPffrDfZB ktgOXg/J8SQONQ3ciN48oMNR5hY6P/BiqpKJGAv7noISpzoz3rNJ27IPy79SvZ/P7+Ni /rCwtIvmH255cWZpv3jANdfMw+9L5g5HAllqaSqXVGb1GZc4qTcVtENamoP8O9fcHLlc CWPPs7DG+1sAWt+Rr1udd0SMBRv/qe2PTzbUNQ4dU/Qf7J7GGPSFE2gS3QaQwZMW4ngL hj1bGOiUMOzbeXUWX5UlBpyIO8Sn12N7pm68uJBNO1dhSsYcv05CddkJUNjo20/VG1ot 54Ng== X-Gm-Message-State: AOAM5325cdNl+FC+QM7sDIdTulKIX31M3la1hxDjEOuyggVRcO91BuS2 H804qr1UGAztGfOJJIUCGxR0rI15JYo= X-Google-Smtp-Source: ABdhPJyDcVqye/CQ0nXPn94CROJBSo4EdHmMs4krnrOfPG3/rpp0HMck/qGHhTPqGXyeiN6AOIGDoA== X-Received: by 2002:a62:16ce:0:b029:155:2e1d:9c06 with SMTP id 197-20020a6216ce0000b02901552e1d9c06mr2260168pfw.6.1603461765650; Fri, 23 Oct 2020 07:02:45 -0700 (PDT) Received: from bubble.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id 186sm2295067pfv.154.2020.10.23.07.02.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 07:02:44 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id D428182990; Sat, 24 Oct 2020 00:32:40 +1030 (ACDT) Date: Sat, 24 Oct 2020 00:32:40 +1030 To: gcc-patches@gcc.gnu.org Subject: [RS6000] Power10 ICE running gcc.target/powerpc/ppc-ne0-1.c Message-ID: <20201023140240.GB15973@bubble.grove.modra.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-13.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alan Modra via Gcc-patches From: Alan Modra Reply-To: Alan Modra Cc: Segher Boessenkool Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" rs6000_emit_int_cmove generates isel so the condition below needs fixing for power10. Bootstrapped and regression tested powerpc64le-linux power10 and power8. OK? * config/rs6000/rs6000.md (cstore4): Don't call rs6000_emit_int_cmove for power10 when -mno-isel. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 2bf5df41a9b..cd41b759f71 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -11538,7 +11538,7 @@ "" { /* Everything is best done with setbc[r] if available. */ - if (TARGET_POWER10) + if (TARGET_POWER10 && TARGET_ISEL) rs6000_emit_int_cmove (operands[0], operands[1], const1_rtx, const0_rtx); /* Expanding EQ and NE directly to some machine instructions does not help