public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53192] New: Incorrect arguments to AVX2's gather intrinsics
@ 2012-05-02 15:41 kirill.yukhin at intel dot com
  2012-05-02 15:57 ` [Bug target/53192] " hjl.tools at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: kirill.yukhin at intel dot com @ 2012-05-02 15:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53192

             Bug #: 53192
           Summary: Incorrect arguments to AVX2's gather intrinsics
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: kirill.yukhin@intel.com


Hello,
Seems Intel's latest Spec contains a bug, which was reproduced in avx2intrin.h

_mm_i32gather_epi64 (long long int const *base,
                     __m128i index, const int scale)

This has led to an incompatibility between Intel and Gnu compilers. The Intel
version of immintrin.h specifies the type as __int64 const *. The type __int64
is a non-standard MS invention, which apparently is compatible with the
standard type int64_t (inttypes.h). The GCC version of avx2intrin.h specifies
the same parameter as long long int const *. 
Unfortunately, these two types are incompatible under 64-bit Linux.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-03-27 13:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-02 15:41 [Bug target/53192] New: Incorrect arguments to AVX2's gather intrinsics kirill.yukhin at intel dot com
2012-05-02 15:57 ` [Bug target/53192] " hjl.tools at gmail dot com
2012-05-22  9:57 ` kirill.yukhin at intel dot com
2012-05-22 10:13 ` kirill.yukhin at intel dot com
2012-05-22 12:33 ` jakub at gcc dot gnu.org
2012-05-22 12:38 ` jakub at gcc dot gnu.org
2024-03-26 23:00 ` pinskia at gcc dot gnu.org
2024-03-26 23:36 ` pinskia at gcc dot gnu.org
2024-03-27 13:38 ` jakub at gcc dot gnu.org
2024-03-27 13:40 ` jakub at gcc dot gnu.org

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).