Message ID | 20220428143958.2451229-8-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 820b357a49507f943287a8019e891f527db6f729 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp5522077map; Thu, 28 Apr 2022 07:41:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+TtJY6mc3wxT1gzYXzYqvVOkt8dVF6qFeJIAtpk6NQPNGSiQBDPept92pVLInEqz9ENwI X-Received: by 2002:a25:9f86:0:b0:641:6505:cb55 with SMTP id u6-20020a259f86000000b006416505cb55mr31024265ybq.297.1651156916341; Thu, 28 Apr 2022 07:41:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651156916; cv=none; d=google.com; s=arc-20160816; b=XNeZ3vYqrr7m+a1gSuiqqA3KXdjftqhBkMvYCbQgENr5SW3DZV4hsqujGwhtsTXQJ3 bSDJTbpeGb8cXI6ZeNBX0mvpHiLeQZLURXhIxZVhPsKtCIHdQUr5t6PN41QjqrL0GGWH jwRhRfByySQiXrUZONs7uXcV5fMdsd72+RhWRj9s5maiEm6fbWAeSnQlpMlASetpdNjG HXPQ22PRXOGDyL2eDlXfcfKJJ3bwhU8PMkP712//CgSyVHTS6ZYUAaNBMCtH/S6yUjaj oXgHZB4otPiJCZwMh+Rz8gbj25fJiZrRimcYA96TKakuBzKYbizHMft93QW5YidbmaN7 hUeQ== 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:to:from :dkim-signature; bh=EeFLZ/V0/JOBTSNAJLm7+MRWGPviysoPcLoMqfST1AQ=; b=ul5G/hdPcCYgBT5EidI/3u62XUEXvPN82jqdzyN6Ijrj6qXCV1JArA9oItCRLXUt6P w/040jthchoAGql+zI8piGBaBgm6o5vK1ro7293IJ2TpQu4jnhu/rXZnd9hM/f+8oeXI J1QUhyhRJkW7Kt1nTTq8NKJlnpFy5dRoc2lGdZ2cRwhjgIMmV4rkug4vlVJc8c7rSTMk gDTkgmV3mr6IktAVef4iMD1GMR683bi2zHGNh13CXFyD+7moZuO6UzydH8vDi/XWB3CZ tMvAG3trUp7Om5nG5SD9xhk6f3K2U0fURJz/0JgYWuNmV6Pxgjgp2MP0stKUMpDVBggg AG2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eLNplD47; 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 z4-20020a81aa44000000b002e5bb9dcaafsi4511563ywk.312.2022.04.28.07.41.56 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Apr 2022 07:41:56 -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=eLNplD47; 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]:36044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1nk5L9-0005IL-OT for patch@linaro.org; Thu, 28 Apr 2022 10:41:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1nk5JU-000554-Sn for qemu-devel@nongnu.org; Thu, 28 Apr 2022 10:40:15 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:46817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1nk5JT-0006E1-EN for qemu-devel@nongnu.org; Thu, 28 Apr 2022 10:40:12 -0400 Received: by mail-wr1-x42e.google.com with SMTP id i5so7047202wrc.13 for <qemu-devel@nongnu.org>; Thu, 28 Apr 2022 07:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=EeFLZ/V0/JOBTSNAJLm7+MRWGPviysoPcLoMqfST1AQ=; b=eLNplD47llVri5MY7I3nAOVXlARzTqgjIjvk5o+nBl6ubcyOW9XwBTwCtvbyfdncHB YiRn4jldFYUZ0Qt3Z2tntP4lo3qH+MnXUYayLxRn7lza0KuK37efbA8EB4H4E0WxQsxq UInVkfsqLSMJG001Dn48HRMi/c3l3s3sEOm3+c0/rZnOmogzFOAWJi8teS8kPHPk31Y3 BtYgOsA309bHzENQwk4ctakYffa9/NKsZzuVxopruJ/k7UVwpPibFRjyIFMjaY5k8riO wPMvWlm2nlUBqKlNFcaTwTFHt9YCPnRRSJrrm0+c+pQ5WqGKLMiQfpzfW5QNqFNA5xFE 9jYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EeFLZ/V0/JOBTSNAJLm7+MRWGPviysoPcLoMqfST1AQ=; b=vDnbZ/x2UqhfgFfxdG+WmkXfyqE48W2VsrQoherjq3MruO4hVvqmG//AeICkO61qNF EvPf+hRg0L2Nvb//gWQNrzZvOItL8Qx80+Zd1nqZFALD9jZJ7r/SkdP95Yxkcd4kGhnE PLW2jxmsgEmoFyW8k/yHHslOPgyyw9TziioxSY/HOJAgBccQKBgfOYCcOQYsD3G6Xb0Y RYmQD/fjlusKoFCI7tfWXWwndJrS19TWHky8vV6LbSvb5MSU4YwHzConvsEIw6qLGdVc 5GMmtrjWYjZbcXEcqWa5ANDVq63UnnypMk7LUOFSF7u1ZpgdfxSeoJDqZ+GQwKIXSbIE Z88g== X-Gm-Message-State: AOAM530BmOtHdd95/xajmm6Q2rdgQDyRa4hB+Oq7zDGob8u6ECq+5ynM wZR81UTUvJLM0hFg14G48CdGWUONgSCtrQ== X-Received: by 2002:a5d:6d89:0:b0:20a:9beb:9477 with SMTP id l9-20020a5d6d89000000b0020a9beb9477mr26263958wrs.142.1651156810086; Thu, 28 Apr 2022 07:40:10 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id bh26-20020a05600c3d1a00b003928db85759sm130221wmb.15.2022.04.28.07.40.08 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 07:40:09 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 07/54] target/arm: Use tcg_constant in disas_exc Date: Thu, 28 Apr 2022 15:39:11 +0100 Message-Id: <20220428143958.2451229-8-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220428143958.2451229-1-peter.maydell@linaro.org> References: <20220428143958.2451229-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42e.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" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/54] target/arm: Use tcg_constant in gen_probe_access
|
expand
|
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 5d1bccaf469..68e3b5c1f80 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -2015,7 +2015,6 @@ static void disas_exc(DisasContext *s, uint32_t insn) int opc = extract32(insn, 21, 3); int op2_ll = extract32(insn, 0, 5); int imm16 = extract32(insn, 5, 16); - TCGv_i32 tmp; switch (opc) { case 0: @@ -2050,9 +2049,7 @@ static void disas_exc(DisasContext *s, uint32_t insn) break; } gen_a64_set_pc_im(s->pc_curr); - tmp = tcg_const_i32(syn_aa64_smc(imm16)); - gen_helper_pre_smc(cpu_env, tmp); - tcg_temp_free_i32(tmp); + gen_helper_pre_smc(cpu_env, tcg_constant_i32(syn_aa64_smc(imm16))); gen_ss_advance(s); gen_exception_insn(s, s->base.pc_next, EXCP_SMC, syn_aa64_smc(imm16), 3);