From patchwork Wed Feb 28 19:31:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 130065 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp137725lja; Wed, 28 Feb 2018 11:43:35 -0800 (PST) X-Google-Smtp-Source: AG47ELsBOhNRWxotACszBAKPIkNmd/624FwHUNgVjfp/SACLNfHajtPp+/SJNPJafd6Cb1qHY0g+ X-Received: by 10.129.197.73 with SMTP id o9mr9965081ywj.66.1519847015215; Wed, 28 Feb 2018 11:43:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519847015; cv=none; d=google.com; s=arc-20160816; b=ppMkPDbnSieKxPCASlAgoTI4ymwCSZqeEiUSchGQUciRlKjScnnG4RNeAhdPpVyp6D DoeNQGJaeuhF/9umH7tzn085bqVNATw7/7Xv22mveipQElLvdJy6grzx4iQ1Zq3DOY+J l7YtY59Vxoq7QQFnf/EtDmrJYD4tKIU67W9+ZtmizFW1Su5U3zPx20tunq318Y0EQsPT fOwUwTfMVgbdKUzIpa4k3InuEFkZeXZJu01G7pyM6oeGUyaiE3Q4i82Lb0RWWEuI5Xat WSW28mFwhrh2pCJSFV8v+L3Fnb/qdTh2v7qGFoUSu79O2scU3hhCVno1N+dXEdzcmwGZ BLig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=jJ6CE3xc0WzrR9rdC8JrfrZyPps0vJLzi6MVauEfbYg=; b=yz8U5vKbl3AET+vTeVcQzPDLoHeNnJv3gCraeC9w8+S46uc0K96ZOUxURaqxmC0+3C uLZQwEW19lBS29img9gwAkAeAVHSVCdXF1wNVn72P3Uyraxj6ki4eJvMDYs60IFKyhps pofwLbzpBifomEUwICIZ7/R1ZhPTcpMLrTP/iAuBVHK88h0SyPxT7DCYXZGIdObtF9Bt 5XVKuaWORoluyyl+jeS4JifyQ8Q4kq6hebW3SqW7wR3zwU/sfrqBbohmoPUogSaUuNqj AkQZ/GJT4QaavXMhmdtkTucllWH0TJ/XkOGLZlO3uMmk8qr87iFnycyJ+iuWctLnCvJ6 2sTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=KIh/WMeU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u3-v6si386314ybb.45.2018.02.28.11.43.35 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 28 Feb 2018 11:43:35 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=KIh/WMeU; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:46495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er7dW-0004zM-IN for patch@linaro.org; Wed, 28 Feb 2018 14:43:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er7SD-0003am-DH for qemu-devel@nongnu.org; Wed, 28 Feb 2018 14:31:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er7SC-0006Wa-Io for qemu-devel@nongnu.org; Wed, 28 Feb 2018 14:31:53 -0500 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:35866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1er7SC-0006W3-Ch for qemu-devel@nongnu.org; Wed, 28 Feb 2018 14:31:52 -0500 Received: by mail-pf0-x241.google.com with SMTP id 68so1415700pfx.3 for ; Wed, 28 Feb 2018 11:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jJ6CE3xc0WzrR9rdC8JrfrZyPps0vJLzi6MVauEfbYg=; b=KIh/WMeUsMvKX9I7miKyu9iYx1W8hgYMyM/UlGnA8bFSUD8ctsllPrWPuNHps/1pCc cHOzovy0slKFBuhKvT5wIIsK294PhJatQNsjFCkPNgMNEykObrDut8M3LMwQCtktAhjn A/2KqWx8+Vh885okg+PHDPhPsbEgGi35KGLgQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jJ6CE3xc0WzrR9rdC8JrfrZyPps0vJLzi6MVauEfbYg=; b=VHTg7gR6sSXI7MxaVxwE6TIOhmDeVle4shrwbLDdx1Vuilk7JwK/G9NuG/s6+EP/7c UJZR1CmBy/HOp/rvwUO5GQgzilYHGQA80GWp3rdzFu3Y9ACzYBXyCjfwjxVLWp9QiIjg clB3+ZRTPnZytbEgidocsFfKjtoJuE9j99VfIn5YPzlrVevw/6Ra4wAmqL8MIsVMZvbg bNe9BRLU6LZyXZ0SOdbbzjUTuq5EcvMEaxh/lvutCL3KMXRuJ/jJtXOjhjGRRECYgjX+ qpBrUYfZw8r4H2TZ4b5cb1ooa0BWCDuDDbANncfTaweBFlBwPbxHzcl5B9YByTgx8Vpc f3Og== X-Gm-Message-State: APf1xPAwkHSVANl+nhEqubEt7ypXWj1egszO15coc49EmBoTIfo+EOEl UNcV5nXsqVn98Bbv9WBOexFeiE+cACE= X-Received: by 10.98.223.143 with SMTP id d15mr18863422pfl.208.1519846311113; Wed, 28 Feb 2018 11:31:51 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-169-147.tukw.qwest.net. [97.113.169.147]) by smtp.gmail.com with ESMTPSA id k185sm4200212pgk.94.2018.02.28.11.31.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Feb 2018 11:31:50 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 28 Feb 2018 11:31:25 -0800 Message-Id: <20180228193125.20577-17-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180228193125.20577-1-richard.henderson@linaro.org> References: <20180228193125.20577-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::241 Subject: [Qemu-devel] [PATCH v3 16/16] target/arm: Enable ARM_FEATURE_V8_FCMA X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Enable it for the "any" CPU used by *-linux-user. Signed-off-by: Richard Henderson --- target/arm/cpu.c | 1 + target/arm/cpu64.c | 1 + 2 files changed, 2 insertions(+) -- 2.14.3 Reviewed-by: Peter Maydell diff --git a/target/arm/cpu.c b/target/arm/cpu.c index ca5fb1162a..452bc32f10 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -1651,6 +1651,7 @@ static void arm_any_initfn(Object *obj) set_feature(&cpu->env, ARM_FEATURE_V8_PMULL); set_feature(&cpu->env, ARM_FEATURE_CRC); set_feature(&cpu->env, ARM_FEATURE_V8_RDM); + set_feature(&cpu->env, ARM_FEATURE_V8_FCMA); cpu->midr = 0xffffffff; } #endif diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 7246866e7d..4228713b19 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -232,6 +232,7 @@ static void aarch64_any_initfn(Object *obj) set_feature(&cpu->env, ARM_FEATURE_CRC); set_feature(&cpu->env, ARM_FEATURE_V8_RDM); set_feature(&cpu->env, ARM_FEATURE_V8_FP16); + set_feature(&cpu->env, ARM_FEATURE_V8_FCMA); cpu->ctr = 0x80038003; /* 32 byte I and D cacheline size, VIPT icache */ cpu->dcz_blocksize = 7; /* 512 bytes */ }