代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/qemu 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 7d4bc795419a69457ee5f2e32674183dc009d48f Mon Sep 17 00:00:00 2001
From: Yanjing Zhou <zhouyanjing@hygon.cn>
Date: Wed, 15 May 2024 13:49:19 +0800
Subject: [PATCH] target/i386: Add Hygon Dhyana-v3 CPU model
Add the following feature bits for Dhyana CPU model:
perfctr-core, clzero, xsaveerptr, aes, pclmulqdq, sha-ni
Disable xsaves feature bit for Erratum 1386
Signed-off-by: Yanjing Zhou <zhouyanjing@hygon.cn>
---
target/i386/cpu.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index fd32c64f99..f4c22f32c6 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -4793,6 +4793,20 @@ static const X86CPUDefinition builtin_x86_defs[] = {
{ /* end of list */ }
},
},
+ { .version = 3,
+ .props = (PropValue[]) {
+ { "xsaves", "off" },
+ { "perfctr-core", "on" },
+ { "clzero", "on" },
+ { "xsaveerptr", "on" },
+ { "aes", "on" },
+ { "pclmulqdq", "on" },
+ { "sha-ni", "on" },
+ { "model-id",
+ "Hygon Dhyana-v3 processor" },
+ { /* end of list */ }
+ },
+ },
{ /* end of list */ }
}
},
--
2.41.0.windows.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。