aboutsummaryrefslogtreecommitdiff
path: root/target/sparc/cpu-feature.h.inc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-10-15 17:02:33 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-25 01:01:12 -0700
commitbd7ff659a76ff541c2674e4a48e06e3b047776d0 (patch)
treeec04ba342588ab01046d2359f92e5c8857095a88 /target/sparc/cpu-feature.h.inc
parentec860e5d039d4dcd40077fc6152e3cf8dcedd2ea (diff)
downloadqemu-bd7ff659a76ff541c2674e4a48e06e3b047776d0.zip
qemu-bd7ff659a76ff541c2674e4a48e06e3b047776d0.tar.gz
qemu-bd7ff659a76ff541c2674e4a48e06e3b047776d0.tar.bz2
target/sparc: Define features via cpu-feature.h.inc
Manage feature bits automatically. Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/sparc/cpu-feature.h.inc')
-rw-r--r--target/sparc/cpu-feature.h.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/sparc/cpu-feature.h.inc b/target/sparc/cpu-feature.h.inc
new file mode 100644
index 0000000..d35fe90
--- /dev/null
+++ b/target/sparc/cpu-feature.h.inc
@@ -0,0 +1,19 @@
+FEATURE(FLOAT)
+FEATURE(FLOAT128)
+FEATURE(SWAP)
+FEATURE(MUL)
+FEATURE(DIV)
+FEATURE(FLUSH)
+FEATURE(FSQRT)
+FEATURE(FMUL)
+FEATURE(VIS1)
+FEATURE(VIS2)
+FEATURE(FSMULD)
+FEATURE(HYPV)
+FEATURE(CMT)
+FEATURE(GL)
+FEATURE(TA0_SHUTDOWN) /* Shutdown on "ta 0x0" */
+FEATURE(ASR17)
+FEATURE(CACHE_CTRL)
+FEATURE(POWERDOWN)
+FEATURE(CASA)