Message ID | 20230717074838.2724136-1-hongtao.liu@intel.com |
---|---|
State | Repeat Merge |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp964125vqt; Mon, 17 Jul 2023 00:49:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlGSMUaR3lSF4MEciDSre5IdOJ8Ax98KGxX3QunuOyi43boCObfpgaJs3TS60cxAI1Q++dun X-Received: by 2002:aa7:c38a:0:b0:51d:9682:e30c with SMTP id k10-20020aa7c38a000000b0051d9682e30cmr11160949edq.5.1689580168848; Mon, 17 Jul 2023 00:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689580168; cv=none; d=google.com; s=arc-20160816; b=a3WOi2AsMdMFR1SgmliGLNNkjW3/1llVRueWdUPD2v1vZ4KRDL0yLOEixEAJMIvhN7 w4ZOcvVDt8Wdqy3MkwGmSsIDe/fDqWfMpYT5wJNYXJLXClTpmP3oXB6agWVkbVmhlm4j FXy7YYRSuQYaV2eDj17OehMrWoL0cNADbjQd75l759Vncxu91ob8o8thbHW6K82HXwG+ uA6R703hlKpRPUXDaqT0Mus2gunklyInfnqQ7tpFYTfcHH96+r4ukmiqo1aPaZCrb3xC yqvFySXdDQhMP/l54rbZen/Dd9upJ8dDno27BYTHx7m3+BL/X8BtDjNTijcFSCvxNZGc 2aqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=TQWecF2HUwqxuMRAQFtmQTaf+0HAjdVcrU6SSM10Idw=; fh=llebxEPKoNSxs7gbI+Ld+uStJG33hLeVKel30S6OACc=; b=yr/Baiz22/I8uTqzuku9QKfttooCmR9diQ6hx0/RYaXE+BF+QaaCvgiiTL+t7IEEmq g0O0dTe0RMX7yGMZi5zh7RXKqOTV4O8PZfOIJnDXoS4BkSbZHBHM5VcVMa6lf8XxF3gp IKP/+OKu+3oEdIDJLk1QBbaS9VB4gbURzwUAysauDWkvaUUFprsLKw//OFkt3hrs52ss Hd582LiekyStzRDmg3fe/uu7wc4ds343DXGuMJ2Zta3dptEetAwJLWKILy2vdZBhm2U7 J8U+pGF176M/c+5FLzN0/t2Un71b6kX0sDSx3BhvFDNPB5Upbz4x73rTAgnAgFWLNwWt SqVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=DowsNl+c; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id d19-20020aa7d693000000b0051e26c7a15bsi4856836edr.12.2023.07.17.00.49.28 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 00:49:28 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=DowsNl+c; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9B427385840A for <ouuuleilei@gmail.com>; Mon, 17 Jul 2023 07:49:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B427385840A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689580167; bh=TQWecF2HUwqxuMRAQFtmQTaf+0HAjdVcrU6SSM10Idw=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=DowsNl+c4ej7lKrcaC9hEb4Xnb3UzyBqvrQ4GZhxlnfuFZX0tkUcHTzvHc1gk0LDs faRsEjm2dIox7vhF3+k7fD1j2ChSys4nuUWtua2QIwATkQDnJ8WmTfWA/MEDSSxBGz PHu1y53zXD3PiPtLW1Ln9Lcp8r6iiLjQM+EQ21NM= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by sourceware.org (Postfix) with ESMTPS id C00B73858D1E for <gcc-patches@gcc.gnu.org>; Mon, 17 Jul 2023 07:48:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C00B73858D1E X-IronPort-AV: E=McAfee;i="6600,9927,10773"; a="355805327" X-IronPort-AV: E=Sophos;i="6.01,211,1684825200"; d="scan'208";a="355805327" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2023 00:48:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10773"; a="758311468" X-IronPort-AV: E=Sophos;i="6.01,211,1684825200"; d="scan'208";a="758311468" Received: from shvmail03.sh.intel.com ([10.239.245.20]) by orsmga001.jf.intel.com with ESMTP; 17 Jul 2023 00:48:39 -0700 Received: from shliclel4217.sh.intel.com (shliclel4217.sh.intel.com [10.239.240.127]) by shvmail03.sh.intel.com (Postfix) with ESMTP id 96826100517A; Mon, 17 Jul 2023 15:48:38 +0800 (CST) To: gcc-patches@gcc.gnu.org Cc: crazylht@gmail.com, hjl.tools@gmail.com Subject: [PATCH] Remove # from <mask_codefor>one_cmpl<mode>2<mask_name> assemble output. Date: Mon, 17 Jul 2023 15:48:38 +0800 Message-Id: <20230717074838.2724136-1-hongtao.liu@intel.com> X-Mailer: git-send-email 2.39.1.388.g2fc9e9ca3c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, WEIRD_PORT 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: liuhongt via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: liuhongt <hongtao.liu@intel.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771653215427334459 X-GMAIL-MSGID: 1771653215427334459 |
Series |
Remove # from <mask_codefor>one_cmpl<mode>2<mask_name> assemble output.
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
liuhongt
July 17, 2023, 7:48 a.m. UTC
optimize_insn_for_speed () in assemble output is not aligned with splitter condition, and it cause an ICE when building SPEC2017 blender_r. Not sure if ctrl is supposed to be reliable in assemble output, the patch just remove that as a walkaround. Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,} Ready to push to trunk. libpng/pngread.c: In function ‘png_read_image’: libpng/pngread.c:786:1: internal compiler error: in final_scan_insn_1, at final.cc:2813 786 | } | ^ 0x73ac3d final_scan_insn_1 ../../gcc/final.cc:2813 0xb3420b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) ../../gcc/final.cc:2887 0xb344c4 final_1 ../../gcc/final.cc:1979 0xb34f64 rest_of_handle_final ../../gcc/final.cc:4240 0xb34f64 execute ../../gcc/final.cc:4318 gcc/ChangeLog: PR target/110438 * config/i386/sse.md (<mask_codefor>one_cmpl<mode>2<mask_name>): Remove # from assemble output. --- gcc/config/i386/sse.md | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 6bf9c99a2c1..e1158c5717a 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -17220,10 +17220,6 @@ (define_insn_and_split "<mask_codefor>one_cmpl<mode>2<mask_name>" || <ssescalarmode>mode == SImode || <ssescalarmode>mode == DImode)" { - if (!<mask_applied> && which_alternative - && optimize_insn_for_speed_p ()) - return "#"; - if (TARGET_AVX512VL) return "vpternlog<ternlogsuffix>\t{$0x55, %1, %0, %0<mask_operand3>|%0<mask_operand3>, %0, %1, 0x55}"; else