From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 053C1385840A; Mon, 24 Oct 2022 18:33:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 053C1385840A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666636403; bh=zVQ4hPTRsUG2GLcEeFp/u86gcsU2I/nL6Cf0VLTGomQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=V7UJRAS9+05P8tQfFYAp4M8ozs4vbWkxeKwC7/WuvLQG+slcw/fMAIetx8uMj8KPR 3ciWgCtOM3N9z+9dYwLXv8+pnacpGpJnIlMZoAkUGd8aLUC/8leIYzGKYX+5DGel1M meB5ojQoT3nyByrCg9VNDRc78mORvjDEbcAI+sJw= From: "jacob at jacob dot remcomp.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107370] long double precision is wrong in ARM 64 Date: Mon, 24 Oct 2022 18:33:19 +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: 10.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jacob at jacob dot remcomp.fr 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: 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=3D107370 --- Comment #3 from jacob navia --- 1 trunk gcc: 2 .LC1: 3 .word 325511829 # 0x1366EA95 <<<--- SHOULD BE 325508205 4 .word -922176773 # 0xC908B2FB OK 5 .word -429395012 # 0xE667F3BC OK 6 .word 1073703433 # 0x3FFF6A09 OK This data is wrong, I repeat, the first number (line 3) should be 325508205= or=20 0x1366DC6D. It CAN'T be a printf issue because when you use my "nsqrt" function IT PRIN= TS CORRECTLY.=20 THEN printf is able to print correctly when the input is correct. The sqrtl func= tion under ARM 64 bits produces only double precision, instead of quadruple precision. That's all I am saying.=20 And the intention here (from my side) is to help you correct this problem, = not to minimize the quality of gcc, a great software! jacob=