From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from server.nextmovesoftware.com (server.nextmovesoftware.com [162.254.253.69]) by sourceware.org (Postfix) with ESMTPS id AD54C3858D39 for ; Fri, 1 Jul 2022 10:17:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AD54C3858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nextmovesoftware.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nextmovesoftware.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nextmovesoftware.com; s=default; h=Content-Type:MIME-Version:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=CDArfysoG0oBSN2sYEluisgM2z7inArl9t+gQkWMDaA=; b=Qd49GJDr1xcgjstJASH8gWmlTx DfLGiX3Szok7vgH+a0FVgxr+Yhby5leENDPPSSG5obLPQBmm9Is1Ba6lWrCNqKvgOCY+KHl1pgCV6 Z27Zzsfm0nRXGcH4WkOGZ6ZbfXnkclYN/MiX0kwFwit1DzSNZW9SLLFQdFUH19lyw+v/u1jo+XJUn 0M5tyu/xAfpaH/twCnxHFnXFyF1QjG/niT3kTRc90s/BWG7ymOfTjtZZlrHt6zZdcYAHHnS7hhKG6 h8Xwjg5y72UYWkXMrJDg2do9gNtoRjLRta3LqD9gMwQm7PANu2ELSCwHN4veXv3TxwJzF0Cs3RKgV y1ErpC/g==; Received: from [185.62.158.67] (port=64875 helo=Dell) by server.nextmovesoftware.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o7DiN-0004tY-Tp; Fri, 01 Jul 2022 06:17:32 -0400 From: "Roger Sayle" To: Subject: [Committed] Add constraints to new andn_doubleword_bmi pattern in i386.md. Date: Fri, 1 Jul 2022 11:17:29 +0100 Message-ID: <003e01d88d33$c5864830$5092d890$@nextmovesoftware.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_003F_01D88D3C.274D2130" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdiNM3lt/oVLilBnTnSnAfen9BdSvA== Content-Language: en-gb X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.nextmovesoftware.com X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nextmovesoftware.com X-Get-Message-Sender-Via: server.nextmovesoftware.com: authenticated_id: roger@nextmovesoftware.com X-Authenticated-Sender: server.nextmovesoftware.com: roger@nextmovesoftware.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, MEDICAL_SUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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-List-Received-Date: Fri, 01 Jul 2022 10:17:33 -0000 This is a multipart message in MIME format. ------=_NextPart_000_003F_01D88D3C.274D2130 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Many thanks to Uros for spotting that I'd forgotten to add constraints to the new define_insn_and_split *andn_doubleword_bmi when moving = it from pre-reload to post-reload. I've pushed this obvious fix after a make bootstrap on x86_64-pc-linux-gnu. Sorry for the inconvenience to anyone building the tree with a non-default architecture that enables BMI. 2022-07-01 Roger Sayle Uro=B9 Bizjak gcc/ChangeLog * config/i386/i386.md (*andn3_doubleword_bmi): Add = constraints to post-reload define_insn_and_split. Roger -- ------=_NextPart_000_003F_01D88D3C.274D2130 Content-Type: text/plain; name="patchdw3.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patchdw3.txt" diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md=0A= index 3401814..352a21c 100644=0A= --- a/gcc/config/i386/i386.md=0A= +++ b/gcc/config/i386/i386.md=0A= @@ -10405,10 +10405,10 @@=0A= })=0A= =0A= (define_insn_and_split "*andn3_doubleword_bmi"=0A= - [(set (match_operand: 0 "register_operand")=0A= + [(set (match_operand: 0 "register_operand" "=3Dr")=0A= (and:=0A= - (not: (match_operand: 1 "register_operand"))=0A= - (match_operand: 2 "nonimmediate_operand")))=0A= + (not: (match_operand: 1 "register_operand" "0"))=0A= + (match_operand: 2 "nonimmediate_operand" "ro")))=0A= (clobber (reg:CC FLAGS_REG))]=0A= "TARGET_BMI"=0A= "#"=0A= ------=_NextPart_000_003F_01D88D3C.274D2130--