Re: [Discuss-gnuradio] Cannot compile Volk

2012-07-17 Thread Johnathan Corgan
On Tue, Jul 17, 2012 at 10:35 AM, Josh Blum wrote: > Here is a commit with comments justifying my changes. I hope the > gnuradio devs will accept this: > > http://gnuradio.org/cgit/jblum.git/commit/?h=volk_mmx_fix&id=cf8b2a8ff57ff6d3fd4b78a897854cc9a6f49fe1 > This was merged into master->next.

Re: [Discuss-gnuradio] Cannot compile Volk

2012-07-17 Thread Josh Blum
On 07/17/2012 12:20 AM, Pol Henarejos wrote: > Dear Josh, > > Your patch works for me. Now I am compiling next branch. Hope you could > commit to git. > > Thanks for your effort. > > Thanks for testing. Here is a commit with comments justifying my changes. I hope the gnuradio devs will acce

Re: [Discuss-gnuradio] Cannot compile Volk

2012-07-17 Thread Pol Henarejos
Dear Josh, Your patch works for me. Now I am compiling next branch. Hope you could commit to git. Thanks for your effort. -- Pol Henarejos Research Engineer, MSc pol.henare...@cttc.es Centre Tecnològic de Telecomunicacions de Catalunya (CTTC) Engineering Unit Parc Mediterrani de la Tecnologia

Re: [Discuss-gnuradio] Cannot compile Volk

2012-07-16 Thread Josh Blum
Alright, i have kind of a fix. Here is the diff: http://pastebin.com/fv4tRfEF Basically, it looks like you cant MMX on win64. So I added mmx as an optional parameter to the 3 machine definitions that get used on windows. When on MSVC 64bit, the mmx arch will get overruled. On the kernel side, I a

Re: [Discuss-gnuradio] Cannot compile Volk

2012-07-16 Thread Josh Blum
The problem is that volk_16i_32fc_dot_prod_32fc_a_sse is using MMX instructions which it seems that you cant do in 64 bit windows These should probably be replaced with SSE equivalent functions m0 = _mm_set_pi16(*(aPtr+3), *(aPtr+2), *(aPtr+1), *(aPtr+0)); m1 = _mm_set_pi16(*(aPtr+7), *(aPtr+6), *

Re: [Discuss-gnuradio] Cannot compile Volk

2012-07-16 Thread Josh Blum
On 07/16/2012 06:45 AM, Pol Henarejos wrote: > Dear list, > > I am trying to compile gnuradio using MSVC2010 but I cannot compile > Volk. I tried with next and master branches but no luck. Nevertheless, > if I use maint branch it works correctly. I am compiling the code for > x64 target. Please

[Discuss-gnuradio] Cannot compile Volk

2012-07-16 Thread Pol Henarejos
Dear list, I am trying to compile gnuradio using MSVC2010 but I cannot compile Volk. I tried with next and master branches but no luck. Nevertheless, if I use maint branch it works correctly. I am compiling the code for x64 target. Please find the output of compiler. It is in spanish but it means