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.

Reply via email to