On Tue, 2005-11-01 at 17:18 +0100, Tristan Gingold wrote:

> > work.std_logic_1164,-no1164   3:38
> > work.std_logic_1164           3:32
> > normal                        2:50
> > ghdl 0.20                    21:19
> A factor of 10 is too large.  Did you compile the ieee library with -O ?
> This is *really* important.

Duh, I'm stupid. I've now used -O2, it's now approximately 13:06
(simulated with 1/10th the test time and then multiplied by 10).

> You can also use ./tbench --stats ...

Yes, I've seen that... But callgrind gives a lot more information, for
example runtime down to the instruction level, call counts for
functions, etc.

> It depends on how you compiled it.  Set GRT_FLAGS="-g".

-g -O should be the default, no? I just used dist.sh sources to compile
it...

Tom



Reply via email to