]> 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)
committerHaochen Jiang <haochen.jiang@intel.com>
Fri, 26 Jul 2024 08:49:08 +0000 (16:49 +0800)
commitf145f5411609dca5493a6709e8139609b584622f
tree5df090f15d640dc8b0a226a9932fd177958221e5
parentfd599d96d464caed8bf78e4a43120d9a121b7e7a
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