From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A255338582AC; Tue, 9 Jan 2024 17:42:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A255338582AC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704822148; bh=hZaIPgvX3rMbUkRIv23uTi1glzwfov7fRqHqvRSMM4M=; h=From:To:Subject:Date:From; b=fa/KdOU2fd9eG4NRWEfD4S5RcFBIcnFacJb4Ct/0c6/B/uiHNt0WnNdJXwI8jjzDD kOE4/nzg3ex5zCdsUKsFjbf0+SsUG6UUfzqtAlYt1imsNxNKD1wFjuuWtgRUbQWLZe wlqiHUS5A0BEgOYndWYfxq+idE6IcWowyCq/GPwc= From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113295] New: SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=native -flto Date: Tue, 09 Jan 2024 17:42:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter blocked target_milestone cf_gcchost cf_gcctarget Message-ID: 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=3D113295 Bug ID: 113295 Summary: SPEC 2006 416.gamess miscompares on Aarch64 when built with -Ofast -march=3Dnative -flto Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jamborm at gcc dot gnu.org Blocks: 26163 Target Milestone: --- Host: aarch64-linux Target: aarch64-linux Our Aarch64 benchmarker (armv8.2-a+crypto+fp16+rcpc+dotprod+ssbs) signals that SPEC 2006 416.gamess miscompares when built with -Ofast -march=3Dnative -flto and master revision r14-7022-g34d339bbd0c1f5. *** Miscompare of cytosine.2.out;=20 1120: 1 C 0.027630132 0.018067739 0.0022341= 16 1 C -223.432234062 7.107716215 -9.3260172= 93 ^ 1121: 2 C 0.012259576 -0.006051645 -0.0000672= 02 2 C -205.307990130 -173.019401916 -6.4424721= 79 ^ 1122: 3 C -0.012829758 0.003221329 -0.0007434= 29 3 C -0.900001858 -263.923127366 3.1314041= 91 ^ 1123: 4 N -0.041204707 0.020932737 -0.0003725= 60 4 N 291.766837166 -257.876625173 10.7883909= 25 ^ 1124: 5 C 0.057007688 0.032540385 -0.0009096= 21 5 C -204.215830139 57.403322317 -0.9294034= 41 ^ 1125: 6 N -0.015041867 -0.049945043 0.0021291= 21 6 N 117.540483305 300.802327718 -10.5625732= 19 ^ 1126: 7 O -0.076442899 -0.041673056 -0.0001174= 11 7 O 481.672983389 238.169793443 3.1219618= 94 ^ 1127: 8 N 0.034391335 -0.016048119 -0.0019053= 57 8 N -247.780884876 91.547672097 -1.1330777= 67 ^ 1128: 9 H 0.014938973 0.008953835 0.0003737= 59 9 H -3.948185240 0.659195159 -0.0077743= 50 ^ 1129: 10 H -0.002268325 0.023480419 0.0000102= 07 10 H -0.160267091 -4.621874235 -0.1781611= 65 Unfortunately at the moment don't have another access to another adequate Aarch64 machine to debug further and so at this time I cannot provide more information (and so the component "target" is likely bogus, sorry). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D26163 [Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95= )=