There are several references throughout the code base that's specific to AVX10. The snippet from x86.ad posted below is an example.
instruct castDtoX_mem_avx10(vec dst, memory src) %{
predicate(VM_Version::supports_avx10_2() &&
The minimum AVX10 sub-version required in the predicate is 2, but the name doesn't specify this. So, we should rename it to castDtoX_mem_avx10_2 and do the same for all other references that follow this pattern. If a new item requires AVX10.N or greater, then we'll use avx10_N as the suffix.
instruct castDtoX_mem_avx10(vec dst, memory src) %{
predicate(VM_Version::supports_avx10_2() &&
The minimum AVX10 sub-version required in the predicate is 2, but the name doesn't specify this. So, we should rename it to castDtoX_mem_avx10_2 and do the same for all other references that follow this pattern. If a new item requires AVX10.N or greater, then we'll use avx10_N as the suffix.