* [dpdk-users] _mm_set_epi64 compile error!
@ 2016-04-06 3:12 guo tie
0 siblings, 0 replies; only message in thread
From: guo tie @ 2016-04-06 3:12 UTC (permalink / raw)
To: users
Hi, all
The following code compiles failed:
#include <stdio.h>#include <immintrin.h>
int main() {
__m128i va;
va = _mm_set_epi64((__m64)1, (__m64)2);
printf("va is set!\n");
return 0;
}
gcc -o intrin -msse4 main.c
main.c: In function 'main':main.c:7:2: error: can't convert between
vector values of different size
va = _mm_set_epi64((__m64)1, (__m64)2);
^
main.c:7:2: error: can't convert between vector values of different size
--
铁哥
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-06 3:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06 3:12 [dpdk-users] _mm_set_epi64 compile error! guo tie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).