This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] RTL optimize sqrt on targets without a sqrt insn


Roger Sayle <roger@eyesopen.com> writes:

> 2003-07-20  Roger Sayle  <roger@eyesopen.com>
>
> 	* builtins.c (expand_builtin_mathfn):  Rearrange so that we only
> 	return 0 for invalid argument types.  Instead drop through to a
> 	call of expand_call at the bottom of function.  If op is SQRT,
> 	try attaching a SQRT rtx as the REQ_EQUAL note of the libcall.

This is OK.  Apologies for the lengthy wait for review.

> [Also I'd really appreciate it if someone could approve Dave Anglin's
> http://gcc.gnu.org/ml/gcc-patches/2003-07/msg00247.html, this both
> fixes a serious bootstrap problem, and documents the current behaviour
> of REG_EQUAL notes in GCC.
...

I'm not going to overrule Geoff on this one, sorry.

zw


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