]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Use BLKmode for {ld,st}tilecfg
authorHaochen Jiang <haochen.jiang@intel.com>
Fri, 26 Jul 2024 08:49:08 +0000 (16:49 +0800)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 28 Jul 2024 17:05:59 +0000 (19:05 +0200)
commit5a585d47ebe07180afae0c054a0580b78a78984e
tree1b57fcf4962ba208d6ed4060a1efc4f097bb8a39
parent7a88eb35ef4834fcd98408fe5505360fead99f43
i386: Use BLKmode for {ld,st}tilecfg

Hi all,

For AMX instructions related with memory, we will treat the memory
size as not specified since there won't be different size causing
confusion for memory.

This will change the output under Intel mode, which is broken for now when
using with assembler and aligns to current binutils behavior.

Bootstrapped and regtested on x86-64-pc-linux-gnu. Ok for trunk?

Thx,
Haochen

gcc/ChangeLog:

* config/i386/i386-expand.cc (ix86_expand_builtin): Change
from XImode to BLKmode.
* config/i386/i386.md (ldtilecfg): Change XI to BLK.
(sttilecfg): Ditto.
gcc/config/i386/i386-expand.cc
gcc/config/i386/i386.md