From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB189385AE5E; Tue, 13 Sep 2022 06:31:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB189385AE5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663050676; bh=hhWk5s5d8OBse3HIDrfRpXzZG66z4d+Dd7XeOxu4IV4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Pl0x2I1LNjqCcDeS8dkzsa3gh03PeM+6K5CZhZ05L+BmWQJskHjWH+4YOjJo0hnJ5 BvswUaZTqbINWkKCrPuirArQvkD1/kbxZ1VPw7WMmTG4o+C3OvYGTUlvdal9LF7YAG dD880eBEyj06xj4W3t7AR/2IZTWgy3ub5jP9AjI4= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106910] roundss not vectorized Date: Tue, 13 Sep 2022 06:31:16 +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: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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: blocked cc cf_gcctarget 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=3D106910 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |53947 CC| |crazylht at gmail dot com Target|x86_64 |x86_64-*-* --- Comment #2 from Richard Biener --- Probably missing patterns for V2SFmode here. Hmm, we don't seem to have any vector mode patterns here but possibly rely on ix86_builtin_vectorized_func= tion which indeed doesn't have any V2SFmode support. The vectorizer would go the direct internal fn way for those, querying the floor optab but the x86 backend only has scalar modes supported for the rounding optabs. The backend should modernize itself, get rid of the ix86_builtin_vectorized_function parts for those functions and instead rely on define_expands with vector modes. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53947 [Bug 53947] [meta-bug] vectorizer missed-optimizations=