public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97083] New: __builtin_lround and _builtin_llround not replaced with fcvtas on aarch64
@ 2020-09-17  9:37 linux at carewolf dot com
  2020-09-17 16:35 ` [Bug target/97083] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: linux at carewolf dot com @ 2020-09-17  9:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97083

            Bug ID: 97083
           Summary: __builtin_lround and _builtin_llround not replaced
                    with fcvtas on aarch64
           Product: gcc
           Version: 10.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: linux at carewolf dot com
  Target Milestone: ---

On aarch64 calling __builtin_round and casting the result to int or long long
uses a single fcvtas instruction, but using __builtin_lround or
__builtin_llround instead will do function call.

Seems like they are missing the same optimization.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/97083] __builtin_lround and _builtin_llround not replaced with fcvtas on aarch64
  2020-09-17  9:37 [Bug c/97083] New: __builtin_lround and _builtin_llround not replaced with fcvtas on aarch64 linux at carewolf dot com
@ 2020-09-17 16:35 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-09-17 16:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97083

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
           Severity|normal                      |enhancement

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-17 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17  9:37 [Bug c/97083] New: __builtin_lround and _builtin_llround not replaced with fcvtas on aarch64 linux at carewolf dot com
2020-09-17 16:35 ` [Bug target/97083] " pinskia at gcc dot gnu.org

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).