Message ID | 20230530191438.411344-3-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp901803wru; Tue, 30 May 2023 12:22:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7lbrorVhM/092MSKF9AKjmkHVCI1nwswW27Ekn10rfa3nvG10n6Td40LnUqDVhaBmwMSrQ X-Received: by 2002:a05:620a:1a92:b0:75b:23a1:441 with SMTP id bl18-20020a05620a1a9200b0075b23a10441mr3534155qkb.7.1685474549047; Tue, 30 May 2023 12:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685474549; cv=none; d=google.com; s=arc-20160816; b=tek1vW0qlqtYRJ+6lRm2s6q43C66O27mHFBT1AY7/K29/VN9vGQKBIIVg/5tA/3Kby OcA7vVpcKwtg8H19wvCqEHM2XDlp15k/jZpSqjY5td58gK+NsSPeXWPt0SOeeLsqVYdo +N+Favu8Ab6oRFq6oeEduj4gY0fWzZtiaptmAY5i2fpZDCOxoKc4tGWnuphgtYOQJmCt cnJE8lyV+kXfojAWnSD10tjMBx+8H9xu8ZyiZ9mgF50BzI0E6eMQGSWSYEnve+FfF2wV EuNCCRQb5ens03PPvDP4/Zm230dqww1u9YSzT7LWPPHLXalgJZ7PDBRWLF20t9fsjFwL 3HRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=a+TYNNzW8iqKYogWvG6qM6ASiJ8Nk4m8jlgOtvWjt84=; b=EJx2yOttBr4apiT5Y5vIzaqixcMSZ5HlOmL9qlzO2Nz1ax819aENrYp+/Tme79/II8 1XPKG0O5wyBr0/cFBIo6HT7ni8sd9HS92LsnvmORlvLGbZzsjeI8fzbzPOMdefu2EFjF MtVZZTNWzRS16NgWdBI4YRBd5tBsWXyYjdhIsX0zsxEm5KKVKVj+7eL6sSCJo63C7y/i 4BmoQP3miqw9X9rO3dByASyB/aExNc8CiK9Xyrzylq9T++2lkdY8tDfJ5uh7RraJ/xXK lUIXIYZVYWcLeb0VyNS0kAIhbFALqtzEXMeOBipfyXYbclc64XspJRRkFH6U1qEar1Ul fiuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ma/dtkOE"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id pj19-20020a05620a1d9300b00759464d705dsi4600955qkn.1.2023.05.30.12.22.28 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 May 2023 12:22:29 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b="ma/dtkOE"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1q44o0-00068y-5H; Tue, 30 May 2023 15:14:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1q44ns-0005xi-5a for qemu-devel@nongnu.org; Tue, 30 May 2023 15:14:44 -0400 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1q44nq-0004bm-Bn for qemu-devel@nongnu.org; Tue, 30 May 2023 15:14:43 -0400 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-64d2467d640so5595468b3a.1 for <qemu-devel@nongnu.org>; Tue, 30 May 2023 12:14:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685474081; x=1688066081; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=a+TYNNzW8iqKYogWvG6qM6ASiJ8Nk4m8jlgOtvWjt84=; b=ma/dtkOEDPpQreXY8gMYkTjSEVDqX2/YCANXPIj+Gp0owpOKo/ioXt1pe11gdmYd8S 2uwE/y+NlOiTQF7DZPEQYR1JFYGgcZLVAXSULKlF8FJtPxN/xUo7W2/FY3yUz/qAWq9P kFFASK1myDlNeSSiY7uajgAKEYxCDpPQlCCnmbnz1oeVYzbsCM5WZSaRWl8Oeov2+frX q8+99LV+FVwNTTzs/HkSluCwgZ7lRcL1vT39W5+yTqENKxEmz7y0G+L+k/ldVQX4PUni OPQSAUMP6bpNBd77O0bcDMbuXDBW2t/+Eygy6pU2x7NwEDiTdYoCRUVGuqgoVhdOwFzb 0Qtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685474081; x=1688066081; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a+TYNNzW8iqKYogWvG6qM6ASiJ8Nk4m8jlgOtvWjt84=; b=CbXipUXyo+wTZChKKRfm+oayAp4J0DPRWjoXFX0Bbn7CQzrFqvqpQ96DtWdP3cXVU/ nctFfT685UWPjH1dE9gBbxFWsf3cuYwgvzVgFfMi8j3a6qJm3CcJcb0ysq0/kEApshUS rd8TXgarxhMKl3jBEgeV0PTsPLjMP56IOO/V8Q0Zm20k48/31QPthdt0DYm8to/uN0qK rFOaUW4csi9tZn6RFHZWnrotkrEtDiW4/E3znNLqorGmSILfD1wDND0M6wocQVvtDMNm le5OG8bifqfgh+7AAJVkIukGrjzUkOEwKlWmaBp+VbIXGiycOYGRK/yV4bp/ysMaTyu4 Es0Q== X-Gm-Message-State: AC+VfDytPD5Y/p2VcsrLZo739hYkKGeu79zldxep/06FyKa+RJkJ5DOj 45p8MKWEDH2btG0yRdccQ4aDWpy4ch2HSTHFI+w= X-Received: by 2002:a05:6a20:1590:b0:110:a7da:b980 with SMTP id h16-20020a056a20159000b00110a7dab980mr4124298pzj.12.1685474081047; Tue, 30 May 2023 12:14:41 -0700 (PDT) Received: from stoup.. ([2602:ae:1598:4c01:35a2:c45d:7485:f488]) by smtp.gmail.com with ESMTPSA id 10-20020a63104a000000b0051806da5cd6sm8926757pgq.60.2023.05.30.12.14.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 12:14:40 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Peter Maydell <peter.maydell@linaro.org> Subject: [PATCH v3 02/20] target/arm: Add feature test for FEAT_LSE2 Date: Tue, 30 May 2023 12:14:20 -0700 Message-Id: <20230530191438.411344-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230530191438.411344-1-richard.henderson@linaro.org> References: <20230530191438.411344-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
target/arm: Implement FEAT_LSE2
|
expand
|
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 81c0df9c25..c1db26b299 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -3851,6 +3851,11 @@ static inline bool isar_feature_aa64_st(const ARMISARegisters *id) return FIELD_EX64(id->id_aa64mmfr2, ID_AA64MMFR2, ST) != 0; } +static inline bool isar_feature_aa64_lse2(const ARMISARegisters *id) +{ + return FIELD_EX64(id->id_aa64mmfr2, ID_AA64MMFR2, AT) != 0; +} + static inline bool isar_feature_aa64_fwb(const ARMISARegisters *id) { return FIELD_EX64(id->id_aa64mmfr2, ID_AA64MMFR2, FWB) != 0;