public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/97016] New: [i386] _MM_CMPINT_ENUM type is missing
@ 2020-09-11  2:16 evan@coeus-group.com
  0 siblings, 0 replies; only message in thread
From: evan@coeus-group.com @ 2020-09-11  2:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97016
           Summary: [i386] _MM_CMPINT_ENUM type is missing
           Product: gcc
           Version: 10.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: evan@coeus-group.com
  Target Milestone: ---

The _mm{,256,512}_cmp_epi{8,16,32,64}_mask functions take a _MM_CMPINT_ENUM
according to the Intel Intrinsics Guide (e.g.,
<https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_cmp_epi32_mask&expand=697>),
but in GCC they take an int.

FWIW ICC and clang both define an enum.  I haven't checked MSVC.

Using an int is more consistent with other Intel SIMD APIs, but it seems Intel
has chosen to break tradition here and use an enum.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-11  2:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11  2:16 [Bug target/97016] New: [i386] _MM_CMPINT_ENUM type is missing evan@coeus-group.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).