From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5448F3858400; Mon, 10 Oct 2022 01:50:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5448F3858400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665366606; bh=TQKDPd2KTosf85vptEgcOWRznVChW7gq4bMXK0AATtM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=n9P2Tq6YXypzcb6ewSGKfyrU3QefQ+RG+vFvo66Wh8mYIcpHSdmbojLzfz9wSHwq1 dz18OQ+WTi06jd/+sC0yzPCFbod8Y/BQgPdD/Edb6xLrmzEhJa17LNSayirDPZV0Y9 O8Uyhp9Fks7H6ZhUw88uAuXUYgV24vVZMuWOUDZg= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107093] AVX512 mask operations not simplified in fully masked loop Date: Mon, 10 Oct 2022 01:50:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107093 --- Comment #2 from Hongtao.liu --- For UNSPEC part, we can create a new define_insn with genenral operation and accept both gpr and mask alternatives just like other logic patterns. For gpr version, we can split it to xor + not after reload. For mask version, we can split it to kxnor with UNSPEC after reload. It should help general simplication for xor and not.=