From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 63BC33858D37; Tue, 21 Mar 2023 01:37:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 63BC33858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679362649; bh=IHWsX4lRzMLiFioTIks8s098TAogEXX1wK6JOyrJbP0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RqsNj32OPWSmEYnTK9KVjTE3rk+MDTWil7PQ9T8B8fbZoaAjzhnoYr2fDKkGGYOBk lGV7tuaaul1n5rbQHFkkoE7WuiUoA58x7yQefjjbii3aXhJHfOcXG2eE+5P7vYCwwA z61Yvmj9njT4lUpMxTB6BbydJQsnTn9S2xQ8GYYc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/109221] std.math.floor, core.math.ldexp, std.math.poly poor inlining Date: Tue, 21 Mar 2023 01:37:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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=3D109221 --- Comment #4 from Andrew Pinski --- With -ffast-math -mfpmath=3D387,sse (or -mavx512f instead of -mfpmath=3D387= as there is a avx512f instruction too) added, ldexp gets inlined.=