From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 961C43AA88A6; Thu, 8 Dec 2022 16:32:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 961C43AA88A6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670517163; bh=py73A/neFkE1pgeW0Q8Y1f5WdaLRgqVvm2y7VOD3yd4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Hc9gVfKSNR4TciTQNqF9v5MJMP7kjEeMXOY87BFcmBHSpgpaDAdJSsKpxLw3n90Pq G75OS0kVp52fmO1YiZX8MPm6i33ljFJMQLsHFFlYoVr9H9gru0TKKsHm63Hi+zMAQL jwISWaROZrRoc/+4d1ZzQvEoVCJkJMoztBRTB8mE= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107569] [13 Regression] Failure to optimize std::isfinite since r13-3596 Date: Thu, 08 Dec 2022 16:32:42 +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: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.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=3D107569 --- Comment #41 from Jakub Jelinek --- As for #c1, with trunk -O3 -march=3Dskylake it is: vmovsd 8(%rdi), %xmm1 vmovsd (%rdi), %xmm0 vmulsd %xmm1, %xmm1, %xmm1 vfmadd132sd %xmm0, %xmm1, %xmm0 vsqrtsd %xmm0, %xmm0, %xmm0 which is I think what we want.=