projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4854bbb
)
target/loongarch: CPUCFG support LSX
author
Song Gao
<gaosong@loongson.cn>
Thu, 4 May 2023 12:28:10 +0000
(20:28 +0800)
committer
Song Gao
<gaosong@loongson.cn>
Sat, 6 May 2023 03:19:50 +0000
(11:19 +0800)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <
20230504122810
.
4094787
-45-gaosong@loongson.cn>
target/loongarch/cpu.c
patch
|
blob
|
history
diff --git
a/target/loongarch/cpu.c
b/target/loongarch/cpu.c
index 55d7f9255e734803aff5df32a051f9d7d299c145..c0afc21b2f5a142bffe9395ad263e71a410e8662 100644
(file)
--- a/
target/loongarch/cpu.c
+++ b/
target/loongarch/cpu.c
@@
-388,6
+388,7
@@
static void loongarch_la464_initfn(Object *obj)
data = FIELD_DP32(data, CPUCFG2, FP_SP, 1);
data = FIELD_DP32(data, CPUCFG2, FP_DP, 1);
data = FIELD_DP32(data, CPUCFG2, FP_VER, 1);
+ data = FIELD_DP32(data, CPUCFG2, LSX, 1),
data = FIELD_DP32(data, CPUCFG2, LLFTP, 1);
data = FIELD_DP32(data, CPUCFG2, LLFTP_VER, 1);
data = FIELD_DP32(data, CPUCFG2, LAM, 1);