Search

Missing AVX intrinsics by Josh Brown

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 694755
Opened: 10/13/2011 10:43:44 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
0
User(s) can reproduce this bug
immintrin.h is missing __m256 related intrinsic functions for working with bytes, such as _mm256_cmpeq_epi8 and _mm256_movemask_epi8

Reference: Intel(R) Advanced Vector Extensions Programming Reference
http://software.intel.com/file/36945
http://software.intel.com/en-us/avx/
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling version

Visual Studio 2010 SP1

Steps to reproduce

Compile and run the following application:

#include <intrin.h>

int main() {
    const char* str = "test string";
    __m256 zero = _mm256_setzero_si256();
    __m256 ymm = _mm256_loadu_si256((__m256i *)str);
    unsigned int mask = _mm_movemask_epi8(_mm_cmpeq_epi8(xmm, zero));
    DWORD pos;
    _BitScanForward(&pos, mask);
    return pos;
}

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

The following program will not compile due to "identifier not found" errors.

Expected results

The program should compile and return 11
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 11/8/2011 at 12:36 PM
Thank you for letting us know. We will be fixing this in a future Visual Studio release.
Posted by MS-Moderator08 [Feedback Moderator] on 10/13/2011 at 8:11 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 10/13/2011 at 11:44 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.