From patchwork Tue Feb 19 22:29:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 158747 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4212539jaa; Tue, 19 Feb 2019 14:35:26 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia9dOoWsNQL4U096umMMLO0Yg16DrVgq4Hh1NLJGcupr4dMFlugssXvCF0vKwumJmzcudc2 X-Received: by 2002:a25:dc49:: with SMTP id y70mr25980783ybe.288.1550615726851; Tue, 19 Feb 2019 14:35:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550615726; cv=none; d=google.com; s=arc-20160816; b=1Bg+FPZr9qE/wsp3IQndEXAXGDtcnis/rNiQL0iI0z2oyjfZNQQtgC62eRjJwYEft6 yJMGGk+Y6l5sm1hrq3Cafg6GHnXlwRoNxypaUjH29hE2cPLxNPfWStM0AWmaBYPTqxx2 r9ezuilAKJDn8w5Ww3x81lDT/A80hGymiU9h/aHEXZ8XAaq08Rq3RUak6Q9lDEzUZKAd NQM5NuWVf6QDJcyjRyG7BYjpjjZSB/nnrFB1TM4HfKuVbpXXYKEv9UbVgP+DuRJ5EApM K5nW6MrqI9FV0cKzafc8bv0qQUFoil0E2oqsi/YuCxNXnQV5/0JxqpP7J/kTFntVWq58 ZM3g== 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; bh=bvzvzMexN29euPHlCEf53ekRY2zdxO7LSRID8aQmBUw=; b=jIsL3H8V9s0E3OLGjxejnikHmhc1YsDeE7m1bQ3rNt4CJibFtjmszRysYCKPMTwcGg ND6hMqMpjAuCzf+PkGgg5fbuNqsYWQPd4dEu1q4brgmBjMWB4vyQp5m5f05vwCPae3VI pf7DQgM7XpXn3ndG0lyK9ZLW9cGAxXqr3EljEgYNDsc1Qf1paCeKNenqFkkFNyughaLc kJMEmIePXC71favu5BD0iLXRgjHrnkNcLCEQLv/kQgkxSwD3QDHNMM3meo1EH6AHVTFr yhnnkKpN2WmI33pxGeeJeBFbyMkF6ab0ZNmGKODCra2oMLtSIdud3KoPGlW2Fob2I3nz ALLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=uhLEwnN5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id i204si9697323ybc.178.2019.02.19.14.35.26 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Feb 2019 14:35:26 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=uhLEwnN5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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 ([127.0.0.1]:55927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwDz4-0003Qb-EJ for patch@linaro.org; Tue, 19 Feb 2019 17:35:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwDtw-0000Kn-AB for qemu-devel@nongnu.org; Tue, 19 Feb 2019 17:30:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwDts-0002VA-MN for qemu-devel@nongnu.org; Tue, 19 Feb 2019 17:30:06 -0500 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]:33727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwDtq-0002Sx-RJ for qemu-devel@nongnu.org; Tue, 19 Feb 2019 17:30:03 -0500 Received: by mail-pg1-x542.google.com with SMTP id h11so8440055pgl.0 for ; Tue, 19 Feb 2019 14:30:01 -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=bvzvzMexN29euPHlCEf53ekRY2zdxO7LSRID8aQmBUw=; b=uhLEwnN56TqU1DstBB3w50Jw7pyk5kHempDeOJC2tHlfZy218BYo1EFGK9WNc4oNkc Doc3d6PHQjssC6qKurjXZfRX1Cf/NcqutoOhDyML96INEAN8fAP2RqHZYcFqcKKP7Wp2 qJpr5MvSxvoyu5RZUC2CurJ2pLtRVfW1UnX7TNLb9V+LlRB+uBZXaE+t+a43bYqQi8dA SwMGxvv0hdmpvhSB3gh5FNYzZ6Sxi3nFK2xDdJLRqLfJMr1QVjJg5VN1PNy+cuxCanrO XbueOMh3jfvBLCAA3PO+ynQGxgIznvYg6HsC2gUnk6Vs8MhU/sMhgyTplQ0aZRU9DuvJ wsuQ== 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=bvzvzMexN29euPHlCEf53ekRY2zdxO7LSRID8aQmBUw=; b=K+RuX+peLJl7gLDYoOO2neYF2GdiDS16FQe+35MLkML39nZfHt3EiCqsjaS34aAs1r x8dxL4yShWq1IksqlLQUoFI5TXK/53Mw2EV7z0SYJfz567dQSwO7hHKMK2usumrFnJv0 MQrDqwO7x4jPj9yliuNYliFaDoy907a32S1kK/aIZWRVwyc9rTL0qEiGNs7Xwe+P4rAU shqalYrfKGwsIfcgmJcyUnNQgKf/L/ASkHExzi8e9aWxt/5dTZRG91htB1Yl8l3BFp17 T3KOb4W2RfVfQcgbOMV4+JCSmYQVL0ve/4I5UKtZdPns1tf+hsXbeSVUUh21w3z7iuPC t+mw== X-Gm-Message-State: AHQUAuYKiBcSA3H5KC9aLeHL2inIYK31mijHFLk9DX/2TOLX82+4XPTC kqVzCaHLUsSKYdVaabhLCBH8cb7Xh80= X-Received: by 2002:a62:9683:: with SMTP id s3mr31544807pfk.60.1550615400406; Tue, 19 Feb 2019 14:30:00 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id 20sm12530778pfs.182.2019.02.19.14.29.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Feb 2019 14:29:59 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 19 Feb 2019 14:29:51 -0800 Message-Id: <20190219222952.22183-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190219222952.22183-1-richard.henderson@linaro.org> References: <20190219222952.22183-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::542 Subject: [Qemu-devel] [PATCH v5 4/5] target/arm: Enable ARMv8.2-FHM for -cpu max 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: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/arm/cpu.c | 1 + target/arm/cpu64.c | 2 ++ 2 files changed, 3 insertions(+) -- 2.17.2 diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 8ea6569088..b9fa548718 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -2003,6 +2003,7 @@ static void arm_max_initfn(Object *obj) t = cpu->isar.id_isar6; t = FIELD_DP32(t, ID_ISAR6, JSCVT, 1); t = FIELD_DP32(t, ID_ISAR6, DP, 1); + t = FIELD_DP32(t, ID_ISAR6, FHM, 1); cpu->isar.id_isar6 = t; t = cpu->id_mmfr4; diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 69e4134f79..1b0c427277 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -308,6 +308,7 @@ static void aarch64_max_initfn(Object *obj) t = FIELD_DP64(t, ID_AA64ISAR0, SM3, 1); t = FIELD_DP64(t, ID_AA64ISAR0, SM4, 1); t = FIELD_DP64(t, ID_AA64ISAR0, DP, 1); + t = FIELD_DP64(t, ID_AA64ISAR0, FHM, 1); cpu->isar.id_aa64isar0 = t; t = cpu->isar.id_aa64isar1; @@ -347,6 +348,7 @@ static void aarch64_max_initfn(Object *obj) u = cpu->isar.id_isar6; u = FIELD_DP32(u, ID_ISAR6, JSCVT, 1); u = FIELD_DP32(u, ID_ISAR6, DP, 1); + u = FIELD_DP32(u, ID_ISAR6, FHM, 1); cpu->isar.id_isar6 = u; /*