From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5978A3858D1E; Sat, 12 Aug 2023 09:00:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5978A3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691830802; bh=xAScyGjIOG/M8jupGwKZ6Fg672Qgi3mW6XyFawJTg6U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=batgxRGJrLvMTkLWL8g604Cwjm7ypmdB/jD5KpD9F/ErXMtGDgYzOuekPuTLwCF7L LKk5jYvLSI2uATKR6Z91zoGeOtYfM2042inwjUZdxwz4LWiqW7I0thRo/VYCP7ZIYP 6r/7pHjQdlVwg5NIkafTmzD9N1005k8NMwZY3tJI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/110986] [14 Regression] aarch64 has support for conditional not (and vectors can do conditional not still) after r14-3110-g7fb65f10285 Date: Sat, 12 Aug 2023 09:00:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D110986 --- Comment #14 from Andrew Pinski --- The next and final part for cond_unary_5.c: (for unpack (vec_unpack_lo vec_unpack_hi) (simplify (negate (unpack (vec_cond @0 uniform_integer_cst_p@1 uniform_integer_cst_p@2))) (with { tree outer_mask_type =3D truth_type_for (type); tree allones =3D build_minus_one_cst (type); tree zeros =3D build_zero_cst (type); } (if (integer_onep (@1) && integer_zerop (@2)) (vec_cond (unpack:outer_mask_type @0) { allones; } { zeros; } ) (if (integer_onep (@2) && integer_zerop (@1)) (vec_cond (unpack:outer_mask_type @0) { zeros; } { allones; } )))))) (simplify (negate (vec_pack_trunc (vec_cond @0 uniform_integer_cst_p@1 uniform_integer_cst_p@2) (vec_cond @3 @1 @2))) (with { tree outer_mask_type =3D truth_type_for (type); tree allones =3D build_minus_one_cst (type); tree zeros =3D build_zero_cst (type); } (if (integer_onep (@1) && integer_zerop (@2)) (vec_cond (vec_pack_trunc:outer_mask_type @0 @3) { allones; } { zeros; }= ) (if (integer_onep (@2) && integer_zerop (@1)) (vec_cond (vec_pack_trunc:outer_mask_type @0 @3) { zeros; } { allones; } )))))=