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

Arguments of Intel intrinsics are highlighted as output parameters

XMLWordPrintable

    • Linux/X11

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes