From: Paolo N. <pne...@gm...> - 2008-08-28 07:35:18
|
Hi, Holger and Stephan, Ngspice uses sparse as library for solving the linear system that is generated from the circuit graph. Sparse used a linked lists approach to represent the matrix in memory, not vectors, so I think that vectorization does not help to improve performances. This could be an explanation. Ciao, Paolo th...@mi... wrote: > Holger, > > perhaps this is new to gcc4 or you need a additional compiler switch > but I have read that the compiler make automatically a vectorisation > where possible to gain speed. > > (-fast) -ftree-vectorize > > On > http://www.mingw.org/MinGWiki/index.php/GccStatus > you will find links to mingw-gcc4-versions. > > Regards, > Stephan > > >> Stephan, >> >> optmising is set to -O2 in configure.in. >> >> 203 if test "$enable_debug" = "no"; then >> 204 if test "x$GCC" = "xyes"; then >> 205 AC_MSG_WARN(Removing debugging option!) >> 206 CFLAGS="$CFLAGS -O2 -Wall" >> 207 else >> 208 AC_MSG_WARN(Removing debugging option!) >> 209 CFLAGS="$CFLAGS" >> 210 fi >> >> If I use "-mtune=pentium4 -O3 -msse3" instead of "-O2" (Mingw gcc 3.4.5) I >> do not see much speed difference. >> >> Regards >> >> Holger >> >> >> >> >> >> >> >> th...@mi... schrieb: >>> Hello all, >>> >>> to gain speed you should probably try too add additional gcc- >>> options (when --disable-debug is also applied) like -mtune=pentium4 >>> -O6 (-O3) -msse3 ... but in the "configure.in" there is as far as I >>> have >>> seen it no optimization enabled ... >>> >>> >>> >>> Regards, >>> Stephan >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Ngspice-devel mailing list >>> Ngs...@li... >>> https://lists.sourceforge.net/lists/listinfo/ngspice-devel >>> >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Ngspice-devel mailing list >> Ngs...@li... >> https://lists.sourceforge.net/lists/listinfo/ngspice-devel >> > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ngspice-devel mailing list > Ngs...@li... > https://lists.sourceforge.net/lists/listinfo/ngspice-devel |