From: guo tie <guotie.9@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] _mm_set_epi64 compile error!
Date: Wed, 6 Apr 2016 11:12:58 +0800 [thread overview]
Message-ID: <CAGWteyhhgdzjW9VBoV2RLXyMbCi5gKpS14ziaiEmvyt-orG3sA@mail.gmail.com> (raw)
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
--
铁哥
reply other threads:[~2016-04-06 3:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGWteyhhgdzjW9VBoV2RLXyMbCi5gKpS14ziaiEmvyt-orG3sA@mail.gmail.com \
--to=guotie.9@gmail.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).