- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Probably I'm doing something wrong because I'm not an expert in inline assembler and I don't know what the syntax of the vpcmpd instruction is, but I get this error compiling this test for the MIC architecture:
[cpp]
#include <immintrin.h>
void foo(void * ptr)
{
__m512i zero = _mm512_setzero_epi32();
__m512i a = _mm512_load_epi32(ptr);
__asm
{
vpcmpd k0, zero, a, 4;
nop;
}
}
[/cpp]
I compile it with:
[plain]
icc foo.c -c -mmic -fasm-blocks
": internal error: 04010002_1535
compilation aborted for foo.c (code 4)
[/plain]
ICC version: icc (ICC) 13.0.0 20120731
If the code it's ok, it would be nice if someone could provide me with a workaround. Basicaly what I'm trying to do is something like:
vpcmpd k0, zero, vector_load(pointer), 4;
Thanks in advance.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page