From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6A4373858298; Thu, 9 Mar 2023 15:27:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6A4373858298 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678375676; bh=ns9eH6Ch1qotmqWnpfYbKXWTBtatP+5J2zUBMo+zoE0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wwAX5NCtnQXuSToeKTB6fgWzpqjiAP/tgtCGl9Ej9X+42SOon2RaSJX5MIC0aee1S rj2vbqY6vQeDvdkHNlpVsbgK+wEcODtP1KFqErPzOIBJa+fOmfIzwlRfJz6NC2COAE /yGhKpTh0WYwl0SsaQrYDlI5HtzBx9glf/Wc0J9A= From: "stammark at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100000] non-leaf epologue/prologue used if MVE v4sf is used for load/return Date: Thu, 09 Mar 2023 15:27:55 +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: 11.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: stammark at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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: cc bug_status 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=3D100000 Stam Markianos-Wright changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stammark at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #4 from Stam Markianos-Wright --- I tried out Richard's suggestion in arm_vector_mode_supported_p (allowing V= 8HF, V4SF and V2DF unconditionally) and it seems to have worked! After a testsui= te run I found a few ICEs due to a number of patterns that needed enabling: @mve_vpselq_ which was only enabled for mve.fp And then all the patterns that were conditional on: - "((TARGET_HAVE_MVE && VALID_MVE_SI_MODE (mode)) - || (TARGET_HAVE_MVE_FLOAT && VALID_MVE_SF_MODE (mode))) mve_vec_extract *mve_vec_extract_sext_internal *mve_vec_extract_zext_internal mve_vec_set_internal *movmisalign_mve_store *movmisalign_mve_load These weren't causing any ICEs but also made sense to enable: mve_vst2q mve_vld2q mve_vld4q No regressions after that, but I think I will hold off until GCC14 Stage 1 = to post this patch, just to be safe.=