This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCHv2] powerpc: Add optimized version of [l]lrintf


Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> writes:

> This patch makes use of optimized double version of llrint for single
> precision as both the versions return [long] long type.
>
> 2017-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
>
> 	* sysdeps/powerpc/powerpc64/fpu/s_llrint.S
> 	(__llrintf): Define as strong alias of __llrint.
> 	(llrintf):  Define as weak alias of __llrint.
> 	(__lrintf): Define as strong alias of __llrint.
> 	(lrintf):  Define as weak alias of __llrint.
> 	* sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
> 	* sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
> 	* sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
> 	* sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.

Looks good to me.

-- 
Tulio Magno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]