https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86466

            Bug ID: 86466
           Summary: [X86] gcc checks the range of the immediate to
                    _mm_blend_ps, but not _mm_blend_epi32
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: craig.topper at gmail dot com
  Target Milestone: ---

These intrinsics are both blends of four 32-bit values. gcc seems to check the
range for the floating point version, but not the integer version.

Perhaps this was overlooked when _mm_blend_epi32 was added since it was added
with avx2 while the floating point was added with sse4.1

Test case
https://godbolt.org/g/9QGm9j

Reply via email to