herumi / xbyak

a JIT assembler for x86(IA-32)/x64(AMD64, x86-64) MMX/SSE/SSE2/SSE3/SSSE3/SSE4/FPU/AVX/AVX2/AVX-512 by C++ header
BSD 3-Clause "New" or "Revised" License
2.03k stars 275 forks source link

AVX10.2 support #192

Open busykai opened 1 week ago

busykai commented 1 week ago

Hello @herumi;

now that AVX10.2 specification as well as SDE version which supports AVX10.2 are released, could we hope for support for AVX10.2? Do you have plans to work on it?

herumi commented 1 week ago

I've already skimmed through that PDF, but it has too many pages. I will support them little by little. Is there a diff list of really new instructions for AVX10.2 from AVX-512? For example, AVX10 NEW INSTRUCTION FORMS has vaddpd, but that is the same as an existing instruction, right?

By the way, Intel is a heavy user of Xbyak (thank you), but would your company be interested in sponsoring my contributions? For example, Xbyak is received Google Open Source Peer Bonus Awards 2024. https://opensource.googleblog.com/2024/06/google-open-source-peer-bonus-program-first-group-2024-recipients.html .

busykai commented 3 days ago

Some of the instruction that used to be "extensions" are brought in under 10.2 umbrella, it is generally part of AVX10 strategy: simplify capability detection. So instead of checking for AVX512VL and AVX512F, one would just check for AVX10.2 or higher. This was done starting AVX10.1 (which was all existing instructions). So yes, some of the instructions mentioned in the AVX10.2 spec are existing instructions.

By the way, Intel is a heavy user of Xbyak (thank you), but would your company be interested in sponsoring my contributions?

I am an employee and cannot speak on behalf of the company, nor I can make these decisions. What I can do is to ask around to see what can be done. Your project provides significant value to the area I am working on (so, thank you!).