Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28640

Arguments of Intel intrinsics are highlighted as output parameters

    XMLWordPrintable

Details

    • Linux/X11

    Description

      In the following code sample:

      #include <immintrin.h>
      
      void test(__m256i& mm_shuffle_mask_lo, __m256i& mm_shuffle_mask_hi)
      {
      	__m256i mm_indices1 = _mm256_setzero_si256();
      	__m256i mm_indices2 = _mm256_setzero_si256();
      	mm_shuffle_mask_lo = _mm256_unpacklo_epi8(mm_indices1, mm_indices2);
      	mm_shuffle_mask_hi = _mm256_unpackhi_epi8(mm_indices1, mm_indices2);
      }
      

      the parameters of `_mm256_unpacklo_epi8` and `_mm256_unpackhi_epi8` are displayed in italic, as if they are output parameters of those intrinsics (they are not). This is not limited to just those two intrinsics, it also reproduces with other intrinsics.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            lastique Andrey Semashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes