On Tue, Nov 01, 2005 at 07:36:19PM +0100, Thomas Sailer wrote:
> 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).
Ok, that's better.  There is still a room for improvement!

> > 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.
Sure (but it works only on x86).

> > 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...
Yes.  You then have to check with objdump wether the debug info are here or
not.

Tristan.


Reply via email to