|
From: Richard C. <r.c...@ed...> - 2015-05-03 08:04:14
|
do you mean you tried -msse4.2 or really -sse4.2, I think the right gcc flag is -msse4.2. Richard On 01/05/15 21:43, Sam Bucket wrote: > Hi, > > Is there a way to enable sse4.2 vectorization while compiling a mex with > gcc? I tried the option -O3 -mtune=native (my machine is i7 with sse4.2 > support). The code is compiled and executes but is extremely slow. > Compiling with MSVC2010 compiler I get the optimization working. I tried > to manually edit mexopts.bat to add a -sse4.2 flag but it did not work. > > Thanks, > Seb > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > > > _______________________________________________ > Gnumex-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnumex-users > -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. |