Re: [Ghdl-discuss] Optimization of the generics at compile-time

2015-05-07 Thread Adrien Prost-Boucle
On Tue, 2015-05-05 at 19:01 +0200, Tristan Gingold wrote: most of the very common functions from ieee packages aren't fully optimized :-( If this has a visible impact on simulation speed, then we could build a hand-optimized implementation of these packages as a .so lib, and preload it before

Re: [Ghdl-discuss] Optimization of the generics at compile-time

2015-05-07 Thread David Koontz
On 8/05/2015, at 5:29 am, Tristan Gingold tging...@free.fr wrote: gcc already generates good code for ieee packages, but that's not enough. We could avoid recomputing bounds for these functions, as they could be deduced at compile-time for most cases. This seems a bit unclear, subprogram

Re: [Ghdl-discuss] Optimization of the generics at compile-time

2015-05-07 Thread Tristan Gingold
On 07/05/15 11:33, Adrien Prost-Boucle wrote: On Tue, 2015-05-05 at 19:01 +0200, Tristan Gingold wrote: most of the very common functions from ieee packages aren't fully optimized :-( If this has a visible impact on simulation speed, then we could build a hand-optimized implementation of