diff options
author | Hongyu Wang <hongyu.wang@intel.com> | 2021-11-03 13:58:52 +0800 |
---|---|---|
committer | Hongyu Wang <hongyu.wang@intel.com> | 2021-11-04 13:01:16 +0800 |
commit | 7fcc22dae70af4202fe83b9ecb642fd6333464a2 (patch) | |
tree | 14c063eb654b149038b6d7f604842058613e8bf2 /gcc/tree-vect-loop.c | |
parent | cd389e5f9447d21084abff5d4b7db6cf1da74e57 (diff) | |
download | gcc-7fcc22dae70af4202fe83b9ecb642fd6333464a2.zip gcc-7fcc22dae70af4202fe83b9ecb642fd6333464a2.tar.gz gcc-7fcc22dae70af4202fe83b9ecb642fd6333464a2.tar.bz2 |
i386: Fix wrong result for AMX-TILE intrinsic when parsing expression.
_tile_loadd, _tile_stored, _tile_streamloadd intrinsics are defined by
macro, so the parameters should be wrapped by parentheses to accept
expressions.
gcc/ChangeLog:
* config/i386/amxtileintrin.h (_tile_loadd_internal): Add
parentheses to base and stride.
(_tile_stream_loadd_internal): Likewise.
(_tile_stored_internal): Likewise.
gcc/testsuite/ChangeLog:
* gcc.target/i386/amxtile-3.c: New test.
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions