public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100966] New: [AArch64] __builtin_roundeven[f] is not inlined
@ 2021-06-08 12:28 wilco at gcc dot gnu.org
  2021-10-20 12:38 ` [Bug target/100966] " cvs-commit at gcc dot gnu.org
  2021-10-20 12:41 ` wilco at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: wilco at gcc dot gnu.org @ 2021-06-08 12:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100966
           Summary: [AArch64] __builtin_roundeven[f] is not inlined
           Product: gcc
           Version: 10.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilco at gcc dot gnu.org
  Target Milestone: ---

The new roundeven builtins are not inlined on AArch64:

double f1 (double x)
{
  return __builtin_roundeven (x);
}

float f2 (float x)
{
  return __builtin_roundevenf (x);
}

f1:
        b       roundeven
f2:
        b       roundevenf

These should use the frintn instructions instead of calling the GLIBC
functions.

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

end of thread, other threads:[~2021-10-20 12:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08 12:28 [Bug target/100966] New: [AArch64] __builtin_roundeven[f] is not inlined wilco at gcc dot gnu.org
2021-10-20 12:38 ` [Bug target/100966] " cvs-commit at gcc dot gnu.org
2021-10-20 12:41 ` wilco 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).