diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-03-02 10:45:41 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-03-02 11:03:45 +0000 |
commit | 1dc81c15418d9b174f59a1c6262eb3487f352c56 (patch) | |
tree | a3cc0c00a958f19cfdc42a31a8e8217ca0ee1d7f | |
parent | 5aff1c0744a19ceec81787f8371302d2e1fc0be1 (diff) |
target/arm: Add ARM_FEATURE_V8_RDM
Not enabled anywhere yet.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180228193125.20577-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | linux-user/elfload.c | 1 | ||||
-rw-r--r-- | target/arm/cpu.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 6689089cd2..3a55fb33a8 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -553,6 +553,7 @@ static uint32_t get_elf_hwcap(void) GET_FEATURE(ARM_FEATURE_V8_SHA512, ARM_HWCAP_A64_SHA512); GET_FEATURE(ARM_FEATURE_V8_FP16, ARM_HWCAP_A64_FPHP | ARM_HWCAP_A64_ASIMDHP); + GET_FEATURE(ARM_FEATURE_V8_RDM, ARM_HWCAP_A64_ASIMDRDM); #undef GET_FEATURE return hwcaps; diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 72b5668377..c4d6992f1d 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1433,6 +1433,7 @@ enum arm_features { ARM_FEATURE_V8_SHA3, /* implements SHA3 part of v8 Crypto Extensions */ ARM_FEATURE_V8_SM3, /* implements SM3 part of v8 Crypto Extensions */ ARM_FEATURE_V8_SM4, /* implements SM4 part of v8 Crypto Extensions */ + ARM_FEATURE_V8_RDM, /* implements v8.1 simd round multiply */ ARM_FEATURE_V8_FP16, /* implements v8.2 half-precision float */ }; |