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

Arguments of Intel intrinsics are highlighted as output parameters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 9.0.1
    • C/C++/Obj-C++ Support
    • Kubuntu 22.04
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated: