]> git.proxmox.com Git - mirror_qemu.git/commit
x86: Add AMX XTILECFG and XTILEDATA components
authorJing Liu <jing2.liu@intel.com>
Thu, 17 Feb 2022 06:04:28 +0000 (22:04 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Mar 2022 10:50:50 +0000 (11:50 +0100)
commit1f16764f7d4515bfd5e4ae0aae814fa280a7d0c8
tree8f0e3f6c59160017625e732952a043234a467a55
parent131266b7565bd437127bd231563572696bb27235
x86: Add AMX XTILECFG and XTILEDATA components

The AMX TILECFG register and the TMMx tile data registers are
saved/restored via XSAVE, respectively in state component 17
(64 bytes) and state component 18 (8192 bytes).

Add AMX feature bits to x86_ext_save_areas array to set
up AMX components. Add structs that define the layout of
AMX XSAVE areas and use QEMU_BUILD_BUG_ON to validate the
structs sizes.

Signed-off-by: Jing Liu <jing2.liu@intel.com>
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20220217060434.52460-3-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/cpu.h