This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] sparc64: add a VIS3 version of ceil, floor and trunc
From: Aurelien Jarno <aurelien@aurel32.net>
Date: Mon, 1 Aug 2016 15:24:23 +0200
> sparc64 passes floating point values in the floating point registers.
> As the the generic ceil, floor and trunc functions use integer
> instructions, it makes sense to provide a VIS3 version consisting in
> the the generic version compiled with -mvis3. GCC will then use
> movdtox, movxtod, movwtos and movstow instructions.
>
> sparc32 passes the floating point values in the integer registers, so it
> doesn't make sense to do the same.
Please commit this to the tree, thanks Aurelien.