This patch has the initial skeleton that enables AMD znver4!
AMD znver4 belongs to Family 19h with model numbers as below
Models 0x10 to 0x1f
Models 0x60 to 0x74
Models 0x78 to 0x7b
Models 0xA0 to 0xAf
The patch
- Includes ISAs that already have target descriptions are added.
- Uses no scheduler model as of now. (We have an update to this)
- Updates few tests as per the initial enablement.
- ISAs that are added are
avx512f,
avx512dq,
avx512ifma,
avx512cd,
avx512bw,
avx512vl,
avx512_bf16,
avx512vbmi,
avx512vbmi2,
avx512vl,
avx512_vnni,
avx512_bitalg,
avx512_vpopcntdq/vl
This might sound strange - but its probably better to use either the IceLake or SkylakeServer model initially - as they have AVX512 instruction coverage, the znver3 model will assert in llvm-mca etc when it encounters an unsupported instruction (any of the Z sched classes).