projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeb3f59
)
target/sparc: Enable VIS4 feature bit
author
Richard Henderson
<richard.henderson@linaro.org>
Sun, 5 Nov 2023 05:19:26 +0000
(22:19 -0700)
committer
Richard Henderson
<richard.henderson@linaro.org>
Wed, 5 Jun 2024 16:11:17 +0000
(09:11 -0700)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/sparc/cpu.c
patch
|
blob
|
history
diff --git
a/target/sparc/cpu.c
b/target/sparc/cpu.c
index 88da5254e8147a0bab8d0115c0b4ca5e18a9030a..9bacfb68cb233eef32a1b10e26cb08ea2a7e41ff 100644
(file)
--- a/
target/sparc/cpu.c
+++ b/
target/sparc/cpu.c
@@
-552,6
+552,7
@@
static const char * const feature_name[] = {
[CPU_FEATURE_BIT_FMAF] = "fmaf",
[CPU_FEATURE_BIT_VIS3] = "vis3",
[CPU_FEATURE_BIT_IMA] = "ima",
+ [CPU_FEATURE_BIT_VIS4] = "vis4",
#else
[CPU_FEATURE_BIT_MUL] = "mul",
[CPU_FEATURE_BIT_DIV] = "div",
@@
-886,6
+887,8
@@
static Property sparc_cpu_properties[] = {
CPU_FEATURE_BIT_VIS3, false),
DEFINE_PROP_BIT("ima", SPARCCPU, env.def.features,
CPU_FEATURE_BIT_IMA, false),
+ DEFINE_PROP_BIT("vis4", SPARCCPU, env.def.features,
+ CPU_FEATURE_BIT_VIS4, false),
#else
DEFINE_PROP_BIT("mul", SPARCCPU, env.def.features,
CPU_FEATURE_BIT_MUL, false),