代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/qemu 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From a44839a013a51345c5c12c931064b53da75b516a Mon Sep 17 00:00:00 2001
From: Yanjing Zhou <[email protected]>
Date: Tue, 4 Jun 2024 14:33:47 +0800
Subject: [PATCH 1/2] 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 <[email protected]>
---
target/i386/cpu.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index c01943ee6..1da8732c3 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -4658,6 +4658,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.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。