public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Updating glibc mathinlines.h to reflect additional GCC builtins ?
@ 2004-09-24  6:38 Kaveh R. Ghazi
  2004-09-24  6:56 ` Uros Bizjak
  0 siblings, 1 reply; 6+ messages in thread
From: Kaveh R. Ghazi @ 2004-09-24  6:38 UTC (permalink / raw)
  To: jakub, uros; +Cc: gcc, libc-hacker

Jakub,

I'm looking over sysdeps/i386/fpu/bits/mathinline.h
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/i386/fpu/bits/mathinline.h?cvsroot=glibc

and the changes you made here:
http://sources.redhat.com/ml/libc-hacker/2004-05/msg00048.html

I think we might be able to use a few more GCC builtins for gcc-3.5+.

Looking through mathinline.h and cross referencing it with gcc, I
think the following additional builtins might be usable:

pow2 (-> __builtin_exp2 ?)
sincos (?)
floor
ceil
rint

(Uros, does this match what you implemented in GCC in the last few
 months?  Have I missed any?)


Jakub, would you consider updating mathinlines.h to reflect that these
work also?  (I don't have hardware access to test it myself.)

		Thanks,
		--Kaveh


PS: We could use someone to implement the following for gcc-4.1 ;-)

signbit (done http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02499.html )
sgn
sinh
cosh
tanh
ldexp
asinh
acosh
atanh
fma
hypot
lrint
llrint
finite
coshm1
acosh1p

--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu

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

end of thread, other threads:[~2004-09-25 11:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-24  6:38 Updating glibc mathinlines.h to reflect additional GCC builtins ? Kaveh R. Ghazi
2004-09-24  6:56 ` Uros Bizjak
2004-09-24 11:23   ` Paolo Bonzini
2004-09-24 11:29     ` Paolo Bonzini
2004-09-25 11:54     ` Giovanni Bajo
2004-09-25 12:51       ` Paolo Bonzini

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).