public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rsandifo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110105] ARM GCC: underoptimization: expected vfma.f16, actual vcvtb-vfma.f32-vcvtb Date: Fri, 09 Jun 2023 21:12:32 +0000 [thread overview] Message-ID: <bug-110105-4-eD08xIFaw3@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-110105-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110105 rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org --- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- This is deliberate, since __fp16 is only a “storage type”: all __fp16 arithmetic happens on float, a bit like all short arithmetic happens in int. It works if you use _Float16 instead: _Float16 mul(_Float16 x, _Float16 y, _Float16 z) { return x * y + z; } vfma.f16 s2, s0, s1 vmov s0, s2 @ __fp16 bx lr
next prev parent reply other threads:[~2023-06-09 21:12 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-06-03 16:50 [Bug target/110105] New: " pavel.morozkin at gmail dot com 2023-06-03 16:55 ` [Bug target/110105] " pavel.morozkin at gmail dot com 2023-06-03 17:56 ` pinskia at gcc dot gnu.org 2023-06-09 21:12 ` rsandifo at gcc dot gnu.org [this message] 2023-06-12 18:48 ` pavel.morozkin 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-110105-4-eD08xIFaw3@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).