From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4CECC3858D1E; Sat, 18 Nov 2023 14:05:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4CECC3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700316316; bh=78LDtqLlk+MqwT51UUB3REv0lpgSc3BmOK9mfjoU/Hk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eNgJhywkqKapPAsMpIzD06siK8wx9i66/7EoeHnjY7CbEx5mT5YzkF+gzHAbsm0pU JJrF7viS/eWCxGCvR5cuGlGonyXZ6gSknZ2tpXNJ5z22NthY+XCAYR/1xoXBTK0drR caRme9UlM6X63e5dbnPtlZa5PeQfIDntYrqEJMUQ= From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/112606] [14 Regression] powerpc64le-linux-gnu: 'FAIL: gcc.target/powerpc/p8vector-fp.c scan-assembler xsnabsdp' Date: Sat, 18 Nov 2023 14:05:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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 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=3D112606 Tamar Christina changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tnfchris at gcc dot gnu.org --- Comment #1 from Tamar Christina --- This looks like a target bug. You seem to have an fneg (fabs (..)) instruct= ion on powerpc. This means your copysign pattern needs to either reject the copysign expansion when the second operand is negative, or it needs to emit xsnabsdp in this case rather than copysign. The generic optimization is correct and is doing what the target has reques= ted, your copysign optab implementation says you prefer it over for any operand.=