On 8/3/23 01:36, Sean Christopherson wrote:
Side topic, this does make me wonder if advertising AMX when XTILE_DATA isn't permitted is a bad idea. But no one has complained, and chasing down all the dependent AMX features would get annoying, so I'm inclined to keep the status quo.
I think it should not be an issue because you have to check XCR0 anyway before using AMX. OS kernels know what's in XCR0 but still they need to check the save state leaves in CPUID[0xD]. In neither case will the instruction leaves in CPUID[7] be the only input to the test (if they are used at all).
Paolo