On Sun, 28 Oct 2012, Paolo Carlini wrote:

On 10/28/2012 04:46 PM, Paolo Carlini wrote:
On 10/28/2012 04:14 PM, Marc Glisse wrote:
Hello,

this patch lets some predicates on floating point constants answer true for vectors, so optimizations are applied.
Great.

I wonder how are we doing lately in terms of function pointer inlining?! If the current optimizers can already able to smoothly inline real_zerop & co

Inlining real_zerop can only happen in lto builds.

we could have a single helper function and avoid all this redundancy... In case, I suppose other code could also benefit.
Uhm, sorry, I didn't notice the functions are recursive. The situation seems hopeless, too bad.

The recursion has a bounded depth of 2 ;-)

It is true that we could have a single function in tree.c:
bool real_intcstp (const_tree, int);

with possible trivial wrappers in tree.h.

--
Marc Glisse

Reply via email to