- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to the latest Intel® Architecture Instruction Set Extensions Programming Reference VPERMD and VPERMPS : "Note that this instruction permits a doubleword in the source operand to be copied to more than one doubleword location in the destination operand."
The SDE behavior is in conformance with these specifications, i.e. VPERMD and VPERMPS allow to copy one source element to several destination elements.
But as can be seen here: http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/2011Update/cpp/lin/intref_cls/common/intref_avx2_permutevar8x32_epi32.htm the C++ documentation says that "The intrinsic does NOT allow to copy the same element of the source vector to more than one element of the destination vector.".
This is particularly confusing with the all caps "NOT", I have remarked that the error is still in the documentation for XE 2013 released a few days ago.
Link Copied

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