1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 13:21:13 +02:00

add r6 flag (#57)

Update tests and add support in ndk-compat as well
This commit is contained in:
Guillaume Chatelet
2019-01-22 11:00:48 +01:00
committed by GitHub
parent 51693b8b3e
commit 5911e96bbd
4 changed files with 18 additions and 1 deletions

View File

@ -24,6 +24,7 @@ typedef struct {
// https://www.mips.com/products/architectures/ase/simd/
int eva : 1; // Enhanced Virtual Addressing
// https://www.mips.com/products/architectures/mips64/
int r6 : 1; // True if is release 6 of the processor.
// Make sure to update MipsFeaturesEnum below if you add a field here.
} MipsFeatures;
@ -40,6 +41,7 @@ MipsInfo GetMipsInfo(void);
typedef enum {
MIPS_MSA,
MIPS_EVA,
MIPS_R6,
MIPS_LAST_,
} MipsFeaturesEnum;