From 130f2e7dcb4a5f9534fc65200121f06983435a77 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Mon, 9 Jun 2014 15:43:25 +0100 Subject: target-arm: A64: Implement CRC instructions Implement the optional A64 CRC instructions. Signed-off-by: Peter Maydell Message-id: 1401458125-27977-6-git-send-email-peter.maydell@linaro.org --- linux-user/elfload.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux-user') diff --git a/linux-user/elfload.c b/linux-user/elfload.c index e872493..f2d5955 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -540,6 +540,7 @@ static uint32_t get_elf_hwcap(void) #define GET_FEATURE(feat, hwcap) \ do { if (arm_feature(&cpu->env, feat)) { hwcaps |= hwcap; } } while (0) GET_FEATURE(ARM_FEATURE_V8_PMULL, ARM_HWCAP_A64_PMULL); + GET_FEATURE(ARM_FEATURE_CRC, ARM_HWCAP_A64_CRC32); #undef GET_FEATURE return hwcaps; -- cgit v1.1