From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 84A3F386180E; Mon, 17 Aug 2020 19:04:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 84A3F386180E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597691062; bh=/E9TE6nfjATpd0O2wnNo2rYOjsRj/eoN+5SOPrZt/7I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oR2B62OyjZl0KkET90tYi4V+QRPXTs/YDuN5Q8qFwZOl4VwdsN5o8KO/o6DzJU0Hx x67yEWiLGsBlnMAtyRLnmHBt0KdSwa83mE0tENOYDiliSkYmjZZCdakEJtRT7oTKVk mVjBBm7getwuz9CRLVvdBzeNKKwrbiLmMiyRKKYg= From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/96654] Failure to optimize vectorized conversion to `int` with AVX Date: Mon, 17 Aug 2020 19:04:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com 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: everconfirmed component bug_status cf_reconfirmed_on 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2020 19:04:22 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96654 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Component|target |tree-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2020-08-17 --- Comment #1 from Uro=C5=A1 Bizjak --- The relevant pattern is present in sse.md: (define_insn "fix_truncv4dfv4si2" [(set (match_operand:V4SI 0 "register_operand" "=3Dv") (fix:V4SI (match_operand:V4DF 1 "nonimmediate_operand" "vm")))] "TARGET_AVX || (TARGET_AVX512VL && TARGET_AVX512F)" "vcvttpd2dq{y}\t{%1, %0|%0, %1}" but for some reason not exercised by target-independent part of the compile= r. Confirmed as a tree optimization problem.=