- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
the following intrinsic code produces a fatal compiler error. The _MM_FROUND_CUR_DIRECTION parameter is explicitly mentioned by the Intel Intrinsics Guide, so I assume this is a compiler bug? If so, it would be great if it could be fixed.
#include <immintrin.h> __m256i cvt(__m512 x) { return _mm512_cvtps_ph(x, _MM_FROUND_CUR_DIRECTION); }
icpc test.cpp -xMIC-AVX512
test.cpp(4): (col. 12) catastrophic error: Illegal value of immediate argument to intrinsic compilation aborted for test.cpp (code 1)
Thanks,
Wenzel
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies for reposting this (https://software.intel.com/en-us/forums/intel-c-compiler/topic/673498), I didn't see my earlier post and assumed that it was rejected for some reason. The issue remains, however.

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