- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Running the following code gets wrong result with `-O3` compilation option.
SIMD intrinsic `_mm512_mask_cmp_epi8_mask` returns incorrect result.
OS: CentOS Linux release 7.9 (Final)
CPU: Intel(R) Xeon(R) Platinum 8255C CPU @ 2.50GHz
G++: 7.3.1
```
```
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel communities.
We did not observe any changes in the result even with -the O3 flag enabled using Intel compilers(icpc,icpx). Could you please try with the Intel Compilers and let us know if you face any issues?
Please refer to the above screenshot for more details.
Thanks & Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How about using G++ 7.3.1?What I'm confused about is only this SIMD instrinsic returns an unexpected result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As we can see that you are compiling the code with Gcc, but works as expected with Intel C++ compilers. This forum is intended to support the queries related to the Intel C++ Compilers and other Intel oneAPI products. So, could you please let us know whether you have any issues with Intel oneAPI products?
Thanks & Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Hemanth

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