Skip to content

x86: support AVX10

Jan Beulich xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest15 of 16 patches 4 repliesIn review

15 of 16 patches are in this archive. The cover letter announces 16.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16x86emul: support SIMD MOVRStools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c tools/tests/x86_emulator/x86-emulate.h +2 more+33 -20 replies
2/16x86emul: support AVX10 forms of SM4 insnstools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c xen/arch/x86/x86_emulate/decode.c +1 more+18 -10 replies
3/16x86emul: support AVX10.1CHANGELOG.md xen/arch/x86/include/asm/cpufeature.h xen/arch/x86/x86_emulate/private.h +3 more+130 -1442 replies
4/16x86emul/test: use simd_check_avx512*() in main()tools/tests/x86_emulator/test_x86_emulator.c+42 -320 replies
5/16x86emul/test: drop cpu_has_avx512vltools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/test_x86_emulator.c tools/tests/x86_emulator/x86-emulate.h+7 -80 replies
6/16x86emul: AVX10.1 testingtools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/test_x86_emulator.c tools/tests/x86_emulator/testcase.mk +1 more+129 -390 replies
7/16x86emul/test: engage AVX512VL via command line optiontools/tests/x86_emulator/simd.h tools/tests/x86_emulator/testcase.mk+2 -60 replies
8/16x86/CPUID: enable AVX10.2 sub-leaftools/libs/light/libxl_cpuid.c tools/misc/xen-cpuid.c xen/arch/x86/cpu-policy.c +5 more+34 -10 replies
9/16x86emul: support AVX10.2 scalar compare insnstools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c tools/tests/x86_emulator/x86-emulate.h +3 more+40 -100 replies
10/16x86emul: support AVX10.2 partial copy insnstools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c xen/arch/x86/x86_emulate/decode.c +1 more+29 -150 replies
11/16x86emul: support AVX10.2 media insnstools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c xen/arch/x86/x86_emulate/decode.c +1 more+62 -20 replies
12/16x86emul: support AVX10.2 minmax insnstools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c xen/arch/x86/x86_emulate/decode.c +1 more+33 -00 replies
13/16x86emul: support AVX10.2 BFloat16 insnstools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c xen/arch/x86/x86_emulate/decode.c +1 more+125 -140 replies
14/16x86emul: support AVX10.2 saturating convert insnstools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c xen/arch/x86/x86_emulate/decode.c +1 more+114 -00 replies
15/16x86emul: support other AVX10.2 convert insnsCHANGELOG.md tools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c +3 more+91 -21 reply

Reviews trailers per patch

2 of 15 patches have a Reviewed-by or Acked-by.

PatchOleksii Kurochko
1/16
2/16
3/16A-b
4/16
5/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/16] x86: support AVX10

AVX10.1 is just a re-branding of certain AVX512 (sub)features, i.e. adds no new instructions. Therefore it's mostly relaxation that needs doing. Luckily the 256-bit-only case and an unnecessary restriction on the mask register insns was taken out again, simplifying the actual emulator adjustments quite a bit.

AVX10.2 is adding quite a few new insns, support for which is roughly added chapter-wise as the spec has them (perhaps not in the order of the chapters there).

While it probably could be re-based ahead, the series in this form depends on the previously submitted "[PATCH v5 0/3] x86/CPUID: leaf pruning" and parts of whatever is left of "[PATCH v9 00/10] x86emul:
misc additions".

I've tried to be very careful in rebasing ahead of other emulator patches I've been carrying, but almost all testing I've done is with all of those collectively in place.

01: x86/CPUID: enable AVX10 leaf
02: x86emul: support SIMD MOVRS
03: x86emul: support AVX10.2 forms of SM4 insns 04: x86emul: support AVX10.1
05: x86emul/test: use simd_check_avx512*() in main() 06: x86emul/test: drop cpu_has_avx512vl
07: x86emul: AVX10.1 testing
08: x86emul/test: engage AVX512VL via command line option 09: x86/CPUID: enable AVX10.2 sub-leaf
10: x86emul: support AVX10.2 scalar compare insns 11: x86emul: support AVX10.2 partial copy insns 12: x86emul: support AVX10.2 media insns
13: x86emul: support AVX10.2 minmax insns
14: x86emul: support AVX10.2 BFloat16 insns
15: x86emul: support AVX10.2 saturating convert insns 16: x86emul: support other AVX10.2 convert insns

Jan