Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/cpu_features.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichael-roe <2479665+michael-roe@users.noreply.github.com>2022-06-01 16:58:29 +0300
committerGitHub <noreply@github.com>2022-06-01 16:58:29 +0300
commit08f2dc115ead63161f56b7ada4a2092b61ce6083 (patch)
treeae3bcc819f95b54d4249f250f9fea107a77311f5 /src
parent8b3f891d9b0ff7ecfbee8c86f7e78a9d543d3b56 (diff)
Added some MIPS features. (#241)
Co-authored-by: Michael Roe <michael-roe@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/impl_mips_linux_or_android.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/impl_mips_linux_or_android.c b/src/impl_mips_linux_or_android.c
index 9a3dc2f..2322ecf 100644
--- a/src/impl_mips_linux_or_android.c
+++ b/src/impl_mips_linux_or_android.c
@@ -20,10 +20,15 @@
////////////////////////////////////////////////////////////////////////////////
// Definitions for introspection.
////////////////////////////////////////////////////////////////////////////////
-#define INTROSPECTION_TABLE \
- LINE(MIPS_MSA, msa, "msa", MIPS_HWCAP_MSA, 0) \
- LINE(MIPS_EVA, eva, "eva", 0, 0) \
- LINE(MIPS_R6, r6, "r6", MIPS_HWCAP_R6, 0)
+#define INTROSPECTION_TABLE \
+ LINE(MIPS_MSA, msa, "msa", MIPS_HWCAP_MSA, 0) \
+ LINE(MIPS_EVA, eva, "eva", 0, 0) \
+ LINE(MIPS_R6, r6, "r6", MIPS_HWCAP_R6, 0) \
+ LINE(MIPS_MIPS16, mips16, "mips16", MIPS_HWCAP_MIPS16, 0) \
+ LINE(MIPS_MDMX, mdmx, "mdmx", MIPS_HWCAP_MDMX, 0) \
+ LINE(MIPS_MIPS3D, mips3d, "mips3d", MIPS_HWCAP_MIPS3D, 0) \
+ LINE(MIPS_SMART, smart, "smartmips", MIPS_HWCAP_SMARTMIPS, 0) \
+ LINE(MIPS_DSP, dsp, "dsp", MIPS_HWCAP_DSP, 0)
#define INTROSPECTION_PREFIX Mips
#define INTROSPECTION_ENUM_PREFIX MIPS
#include "define_introspection_and_hwcaps.inl"