This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to best fold __builtin_powi?
- From: Feng Wang <wf_cs at yahoo dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: rguenth at tat dot physik dot uni-tuebingen dot de, tobias dot schlueter at physik dot uni-muenchen dot de, gcc at gcc dot gnu dot org
- Date: Sat, 5 Feb 2005 15:56:03 +0800 (CST)
- Subject: Re: How to best fold __builtin_powi?
--- Richard Henderson <rth@redhat.com> 的正文:
> > I want to implement (or port) them on IA64.
>
> ia64 doesn't support trancendental functions as single instructions.
>
I know. I mean that we can use software methods to implement these functions
and inline them. These algorithms use tables computed beforehand and get
reasonable results. These optimization has been implemented by many commercial
compilers. This paper presents the main algorithm (but not enough)
http://developer.intel.com/technology/itj/q41999/pdf/transendental.pdf
I think this is another big point that can improve the performance of gcc on
ia64.
Best Regards,
Feng Wang
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/