discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] building volk in MinGW


From: Kyle Zhou
Subject: Re: [Discuss-gnuradio] building volk in MinGW
Date: Fri, 17 Dec 2010 14:30:01 +1100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

I run test_all but without success.
What I got is:

.sse2 not available... no test performed
.sse3 not available... no test performed
.sse3 not available... no test performed
.sse3 not available... no test performed
.sse3 not available... no test performed
.sse3 not available... no test performed
.sse not available... no test performed
.sse not available... no test performed
.sse2 not available... no test performed
.ssse3 not available... no test performed
.ssse3 not available... no test performed
.ssse3 not available... no test performed
.sse2 not available... no test performed
.32f_add_aligned

after that a Windows popup message is up asking if report problem to MS.
It seems to be some exception raised.
I have no experience in cppunit so really no idea what is happening.
Kyle

Don't know what to say about this one yet. Just more evidence that I
really need to get a Windows and OSX machine to test with.

Thanks again.

Tom


After some looking into the codes, I have the following findings.

all qa_* code include <volk/volk.h>, which in turn includes <volk/volk_config.h>
However, volk_config.h has the following:

#undef LV_HAVE_GENERIC
#undef LV_HAVE_ALTIVEC
#undef LV_HAVE_32
#undef LV_HAVE_64
#undef LV_HAVE_3DNOW
#undef LV_HAVE_ABM
#undef LV_HAVE_POPCOUNT
#undef LV_HAVE_MMX
#undef LV_HAVE_SSE
#undef LV_HAVE_SSE2
#undef LV_HAVE_SSE3
#undef LV_HAVE_SSSE3
#undef LV_HAVE_SSE4_A
#undef LV_HAVE_SSE4_1
#undef LV_HAVE_SSE4_2
#undef LV_HAVE_AVX

So everything is undefined.
This means configure does not change anything to volk_config.h.in

However, I have a look at config.h, which shows correct settings

/* 32 flag set */
#define LV_HAVE_32 1

/* 3dnow flag set */
/* #undef LV_HAVE_3DNOW */

/* 64 flag set */
/* #undef LV_HAVE_64 */

/* abm flag set */
/* #undef LV_HAVE_ABM */

/* altivec flag set */
/* #undef LV_HAVE_ALTIVEC */

/* avx flag set */
/* #undef LV_HAVE_AVX */

/* generic flag set */
#define LV_HAVE_GENERIC 1

/* mmx flag set */
#define LV_HAVE_MMX 1

/* popcount flag set */
/* #undef LV_HAVE_POPCOUNT */

/* sse flag set */
#define LV_HAVE_SSE 1

/* sse2 flag set */
#define LV_HAVE_SSE2 1

/* sse3 flag set */
#define LV_HAVE_SSE3 1

/* sse4_1 flag set */
/* #undef LV_HAVE_SSE4_1 */

/* sse4_2 flag set */
/* #undef LV_HAVE_SSE4_2 */

/* sse4_a flag set */
/* #undef LV_HAVE_SSE4_A */

/* ssse3 flag set */
#define LV_HAVE_SSSE3 1


This is strange since configure has done correct testing on SSE support but just does not produce volk_config.h correctly.

Kyle



reply via email to

[Prev in Thread] Current Thread [Next in Thread]