public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106714] Incorrect casts in macros in amxtileintrin.h
       [not found] <bug-106714-4@http.gcc.gnu.org/bugzilla/>
@ 2022-08-29 14:44 ` cvs-commit at gcc dot gnu.org
  2022-08-29 14:57 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 2+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-08-29 14:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:511df912133f56dbd460326b5df1e15e06204e4e

commit r12-8725-g511df912133f56dbd460326b5df1e15e06204e4e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Aug 18 14:17:33 2022 -0700

    x86: Cast stride to __PTRDIFF_TYPE__ in AMX intrinsics

    On 64-bit Windows, long is 32 bits and can't be used as stride in memory
    operand when base is a pointer which is 64 bits.  Cast stride to
    __PTRDIFF_TYPE__, instead of long.

            PR target/106714
            * config/i386/amxtileintrin.h (_tile_loadd_internal): Cast to
            __PTRDIFF_TYPE__.
            (_tile_stream_loadd_internal): Likewise.
            (_tile_stored_internal): Likewise.

    (cherry picked from commit aeb9b58225916bc84a0cd02c6fc77bbb92167e53)

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

* [Bug target/106714] Incorrect casts in macros in amxtileintrin.h
       [not found] <bug-106714-4@http.gcc.gnu.org/bugzilla/>
  2022-08-29 14:44 ` [Bug target/106714] Incorrect casts in macros in amxtileintrin.h cvs-commit at gcc dot gnu.org
@ 2022-08-29 14:57 ` hjl.tools at gmail dot com
  1 sibling, 0 replies; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2022-08-29 14:57 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |12.3

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 13 and 12.3.

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

end of thread, other threads:[~2022-08-29 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-106714-4@http.gcc.gnu.org/bugzilla/>
2022-08-29 14:44 ` [Bug target/106714] Incorrect casts in macros in amxtileintrin.h cvs-commit at gcc dot gnu.org
2022-08-29 14:57 ` hjl.tools at gmail dot 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).