Skip to content

x86: support AVX10

Jan Beulich xen-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest19 patches 0 repliesNew
  2. v41 patch 2 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19x86/CPUID: enable AVX10 leafxen/arch/x86/cpu-policy.c xen/arch/x86/cpuid.c xen/arch/x86/lib/cpu-policy/copy-from-buffer.c +6 more+119 -30 replies
2/19x86emul: 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
3/19x86emul: 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
4/19x86emul: support AVX10.1CHANGELOG.md xen/arch/x86/include/asm/cpufeature.h xen/arch/x86/x86_emulate/private.h +3 more+131 -1330 replies
5/19x86emul/test: use simd_check_avx512*() in main()tools/tests/x86_emulator/test_x86_emulator.c+42 -320 replies
6/19x86emul/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
7/19x86emul: 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
8/19x86emul/test: engage AVX512VL via command line optiontools/tests/x86_emulator/simd.h tools/tests/x86_emulator/testcase.mk+2 -60 replies
9/19x86/CPUID: enable AVX10.2 sub-leaftools/libs/light/libxl_cpuid.c tools/misc/xen-cpuid.c xen/arch/x86/cpu-policy.c +5 more+36 -10 replies
10/19x86emul: 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
11/19x86emul: 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
12/19x86emul: 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
13/19x86emul: 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
14/19x86emul: 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
15/19x86emul: 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
16/19x86emul: support other AVX10.2 convert insnsCHANGELOG.md tools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c +3 more+91 -20 replies
17/19x86emul: support AVX10.2-aux misc insnstools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c tools/tests/x86_emulator/x86-emulate.h +4 more+33 -30 replies
18/19x86emul: support AVX10.2-aux {B,H}F{4,6} <-> {B,H}F8 convertstools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c xen/arch/x86/x86_emulate/decode.c +1 more+51 -20 replies
19/19x86emul: support AVX10.2-aux PS <-> {B,H}F8{,S} convertsCHANGELOG.md tools/tests/x86_emulator/evex-disp8.c tools/tests/x86_emulator/predicates.c +3 more+67 -30 replies

Reviews trailers per patch

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

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

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

Read the v5 thread

Cover letter [PATCH v5 00/19] 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). Same for AVX10.2-aux (new in v5).

AVX10.3 has just had its specification published, so isn't covered yet.

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" (which is supposed to be replaced by logic in the toolstack) and parts of "[PATCH v10 00/10] x86emul: misc additions (MSR accesses)".

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
17: x86emul: support AVX10.2-aux misc insns
18: x86emul: support AVX10.2-aux {B,H}F{4,6} <-> {B,H}F8 converts 19: x86emul: support AVX10.2-aux PS <-> {B,H}F8{,S} converts

Jan