Message ID | 20200410063555.2309-4-chenyi.qiang@intel.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 4bbe9f0948..d2f8a276c4 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -3488,6 +3488,16 @@ static X86CPUDefinition builtin_x86_defs[] = { { /* end of list */ } }, }, + { + .version = 4, + .props = (PropValue[]) { + { "sha-ni", "on" }, + { "avx512ifma", "on" }, + { "rdpid", "on" }, + { "fsrm", "on" }, + { /* end of list */ } + }, + }, { /* end of list */ } } },
Add the SHA_NI and AVX512IFMA feature bits in FEAT_7_0_EBX, RDPID feature bit in FEAT_7_0_ECX and FSRM feature bit in FEAT_7_0_EDX. Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com> --- target/i386/cpu.c | 10 ++++++++++ 1 file changed, 10 insertions(+)