2006/10/17, Mike Stump <[EMAIL PROTECTED]>:
On Oct 17, 2006, at 8:05 AM, Dino Puller wrote:
> i'm looking for a statistic of how many expressions simplification
> may be possible on source code
One way would be:
http://www.cs.fit.edu/~mmahoney/compression/text.html
But it´s a benchmark about compression.
though, this assumes a particular definition of simplification. For
other definitions, gcc doesn't just tell you an answer, you'd have to
define what you think a simplification is and then instrument gcc to
provide that answer. This would be lots of hard work at best.
For expressions simplification i mean simply mathematical
simplificacions like: x/x=1 0*x=1 1*x=x and so on.
bye,
Dino