----- "Sylvere Teissier" <[email protected]> a écrit : > On 14/02/2011 01:15, [email protected] wrote: > > Hello list :-) > > > > It took some time but the first results are worth it ! > > I know, it's only one limited microbenchmark but using > > a few VHDL and C files, I have been able to demonstrate > > a 400x speedup with a stock GHDL under Linux. > > The results will be published soon, and the code > > will be available at the usual address. > > Just a random idea to even more improve simulation speed in GHDL: > Using Link Time Optimisation to inline parts of the GRT library. > > -GCC version >4.5 support Link Time Optimisation (LTO) > -Alternatively LLVM code can be generated from a GCC frontend using > the DragonEgg project ( http://dragonegg.llvm.org/ ), LLVM is also a > compiler middle-end/backend that support LTO. > > SVN r116 and r118 are commits about LLVM, but I don't know if it still > works on recent versions of GCC/DragonEgg.
Yes, I started to work on LLVM. Do not expect large speed-up with LTO. If we really need speed-up we need to do high-level optimizations, which require a redesign of the translator. Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
