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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:aeb9b58225916bc84a0cd02c6fc77bbb92167e53

commit r13-2156-gaeb9b58225916bc84a0cd02c6fc77bbb92167e53
Author: H.J. Lu <hjl.to...@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.

Reply via email to