diff --git a/BM/instruction-check/feature_list.py b/BM/instruction-check/feature_list.py index a1bfaa4..dfdf771 100755 --- a/BM/instruction-check/feature_list.py +++ b/BM/instruction-check/feature_list.py @@ -141,6 +141,10 @@ "cpuid": ['7', '0', '1', '0', 'a', '4'], "platforms": {"SPR", "EMR", "GNR", "SRF", "CWF"} }, + "LASS": { + "cpuid": ['7', '0', '1', '0', 'a', '6'], + "platforms": {"SRF", "CWF"} + }, "CMPCCXADD": { "cpuid": ['7', '0', '1', '0', 'a', '7'], "platforms": {"SRF", "CWF"} @@ -161,6 +165,10 @@ "cpuid": ['7', '0', '1', '0', 'a', '23'], "platforms": {"SRF", "CWF"} }, + "LAM": { + "cpuid": ['7', '0', '1', '0', 'a', '26'], + "platforms": {"SRF", "CWF"} + }, "AVX_VNNI_INT8": { "cpuid": ['7', '0', '1', '0', 'd', '4'], "platforms": {"SRF", "CWF"} diff --git a/KVM/qemu/x86_cpu_flags.cfg b/KVM/qemu/x86_cpu_flags.cfg index 24a17ca..f9bea10 100644 --- a/KVM/qemu/x86_cpu_flags.cfg +++ b/KVM/qemu/x86_cpu_flags.cfg @@ -7,6 +7,21 @@ auto_cpu_model = "no" cpu_model = host variants: + # SRF + - lam: + flags = "lam" + variants: + - default: + - disable: + cpu_model_flags = ",-lam" + no_flags = "lam" + - lass: + flags = "lass" + variants: + - default: + - disable: + cpu_model_flags = ",-lass" + no_flags = "lass" # SPR - avx512_fp16: flags = "avx512_fp16" diff --git a/KVM/qemu/x86_cpuid.cfg b/KVM/qemu/x86_cpuid.cfg index 6782421..d8fb5de 100644 --- a/KVM/qemu/x86_cpuid.cfg +++ b/KVM/qemu/x86_cpuid.cfg @@ -19,6 +19,10 @@ features = "AVX_NE_CONVERT" - cmpccxadd: features = "CMPCCXADD" + - lam: + features = "LAM" + - lass: + features = "LASS" # GNR - amx_fp16: features = "AMX_FP16"