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

--- Comment #5 from Li Pan <pan2.li at intel dot com> ---
(In reply to Li Pan from comment #4)
> (In reply to Richard Biener from comment #3)
> > Ah, yes, for lrint we have the builtins - I just looked for lceil here.  So
> > yeah, where there are DEF_EXT_LIB_FLOATN_NX_BUILTINS we should have
> > DEF_INTERNAL_FLT_FLOATN_FN.
> 
> Thanks Richard, I will have a try for this change.

After some double-confirmation, the related definition are list as below

         glibc  GCC-FLOATN_NX_BUILTINS
iceil    N      N
ifloor   N      N
irint    N      N
iround   N      N

lceil    N      N
lfloor   N      N
lrint    Y      Y
lround   Y      Y

llceil   N      N
llfllor  N      N
llrint   Y      Y
llround  Y      Y

We only need to support lrint/lround/llrint/llround for FLOATN for now.

Reply via email to