public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "lopresti at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/94587] New: Intrinsics optimization bug with -O2 -march=skylake-avx512 Date: Mon, 13 Apr 2020 21:28:28 +0000 [thread overview] Message-ID: <bug-94587-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94587 Bug ID: 94587 Summary: Intrinsics optimization bug with -O2 -march=skylake-avx512 Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: lopresti at gmail dot com Target Milestone: --- Created attachment 48265 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48265&action=edit Minimal test case for skylake-avx512 intrinsics optimization bug This bug appears to be present across at least GCC 8 and GCC 9. Compile the attached program using "g++ -O2 -march=skylake-avx512" and run it. Expected result: No output, exit status 0. Actual result: "WRONG -0.99999999999999789058", exit status 2. To make the problem go away, do any of the following: - Use "-march=corei7" ; or - Remove the "__attribute__((noinline))" from the rot90() function ; or - Add "-DHEISENBUG" to the command line
next reply other threads:[~2020-04-13 21:28 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-13 21:28 lopresti at gmail dot com [this message] 2020-04-14 6:47 ` [Bug target/94587] " marxin at gcc dot gnu.org 2020-04-14 9:27 ` jakub at gcc dot gnu.org 2020-04-14 15:25 ` lopresti at gmail dot com 2020-04-14 18:51 ` pinskia at gcc dot gnu.org 2020-04-14 19:35 ` lopresti at gmail dot com 2020-04-14 20:44 ` pinskia at gcc dot gnu.org 2020-04-14 20:47 ` jakub at gcc dot gnu.org 2020-04-14 21:33 ` lopresti at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-94587-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).