diff mbox series

[v2,10/16] target/arm: Add ARM_FEATURE_SVE

Message ID 20180119045438.28582-11-richard.henderson@linaro.org
State Accepted
Commit 0d0a16c647650d476219a5e1313dec434f9fbebb
Headers show
Series target/arm: Prepatory work for SVE | expand

Commit Message

Richard Henderson Jan. 19, 2018, 4:54 a.m. UTC
Not enabled anywhere so far.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

---
 target/arm/cpu.h | 1 +
 1 file changed, 1 insertion(+)

-- 
2.14.3

Comments

Alex Bennée Jan. 22, 2018, 12:05 p.m. UTC | #1
Richard Henderson <richard.henderson@linaro.org> writes:

> Not enabled anywhere so far.

>

> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Reviewed-by: Alex Bennée <alex.bennee@linaro.org>


> ---

>  target/arm/cpu.h | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/target/arm/cpu.h b/target/arm/cpu.h

> index 132da359b5..0a923e42d8 100644

> --- a/target/arm/cpu.h

> +++ b/target/arm/cpu.h

> @@ -1371,6 +1371,7 @@ enum arm_features {

>      ARM_FEATURE_VBAR, /* has cp15 VBAR */

>      ARM_FEATURE_M_SECURITY, /* M profile Security Extension */

>      ARM_FEATURE_JAZELLE, /* has (trivial) Jazelle implementation */

> +    ARM_FEATURE_SVE, /* has Scalable Vector Extension */

>  };

>

>  static inline int arm_feature(CPUARMState *env, int feature)



--
Alex Bennée
diff mbox series

Patch

diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 132da359b5..0a923e42d8 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -1371,6 +1371,7 @@  enum arm_features {
     ARM_FEATURE_VBAR, /* has cp15 VBAR */
     ARM_FEATURE_M_SECURITY, /* M profile Security Extension */
     ARM_FEATURE_JAZELLE, /* has (trivial) Jazelle implementation */
+    ARM_FEATURE_SVE, /* has Scalable Vector Extension */
 };
 
 static inline int arm_feature(CPUARMState *env, int feature)