Message ID | 20191018174431.1784-15-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1207244ill; Fri, 18 Oct 2019 11:10:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtXswkb8KzveA/TfYc0qc+M6N2Xvk4/xPn7UZ5/ncb5YS189Nuk4JEJ1F3Pb7b1bxVKEes X-Received: by 2002:a17:906:3ec8:: with SMTP id d8mr10089993ejj.57.1571422226401; Fri, 18 Oct 2019 11:10:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571422226; cv=none; d=google.com; s=arc-20160816; b=hUZEODCPEC3D4oVT1o5VsSMict2s1opVMzYMsldSHlQy9hpXKjJAfBq5rwIRrISx5E nHp2R7YvjBai0Nbm0sY9iRcKjPI10FfjMmAlxv8Tu7Uav30MJSdtT4Kg/r+DXS5zpcB1 czVyTZU3usiOQ9JDyIu/O0a0NQ6avqpfst8AZ/OKu+vMPYLc/Uq08GokuBq4NiiW/B+s kjaVQ37Cyj766URzbfXNxm65Re/s95/23tfptixi/AYvyJkVStzbOW4gCqL9/5ieeyGa tbDUxTfosoIiBdfDW2gC5Ba5k2svyTlmThjja5cTjSTwLwCleuSevv5r3m2E+P+f2JNn xeUg== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=bIwXZuVFcex8c2gsnRtwJL32LXPTCWgJCQzC/Gsa6O8=; b=R3hk8jAydzfiQ6m6CjzFcn1M4KovsvV4EQcYMrduhtm5t55S5OUyr/azEWSm9SD9sS bM1l6PjiKEtcUTOUPNJo79/kViOzFhg/829WDzt3xNNXUsDlioyqUHmPd1PoiixOqn5F AYKnl1MCXWgWrsVr0yeQjOC70xA+1kYtaMoLOjjTXd5RYmfCMbVCsPySssvWgCQQ5Rpi XThmNXFLAW1ivwffwWgPI+Rjjvg8IhU2Icq1qsh53i2BehBIhgirS2dC8eaQfRnV6HYT s7ghlkFM6Lr2tHbtq1pGCd2tp1qWKq3p9P8OWIB4XDV8xVLvEwvGOILVhbBow2f6H3uS dlEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SNMbParS; 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: <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 5si4899644edy.95.2019.10.18.11.10.26 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Oct 2019 11:10:26 -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=fail header.i=@linaro.org header.s=google header.b=SNMbParS; 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 ([::1]:44702 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 1iLWhl-0000BA-3f for patch@linaro.org; Fri, 18 Oct 2019 14:10:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59397) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1iLWJ5-0006mG-0k for qemu-devel@nongnu.org; Fri, 18 Oct 2019 13:44:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1iLWJ4-0005aY-3z for qemu-devel@nongnu.org; Fri, 18 Oct 2019 13:44:54 -0400 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]:36178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1iLWJ2-0005Wz-C7 for qemu-devel@nongnu.org; Fri, 18 Oct 2019 13:44:54 -0400 Received: by mail-pg1-x542.google.com with SMTP id 23so3765086pgk.3 for <qemu-devel@nongnu.org>; Fri, 18 Oct 2019 10:44:50 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=bIwXZuVFcex8c2gsnRtwJL32LXPTCWgJCQzC/Gsa6O8=; b=SNMbParSoCGF7WYBp3B8k5/vpmixY7ksuS18lVNemz2GZPYdU1q4SLEZ3ccNRRRfmo pqgShOKXVlAxY94DrdCeiqMAxvUOZpUPf4F0BDFvqEDSDP9KS5EcqUn9sRioOFpdnRyl ytbmSy2RJONilmLS3nU5rmxUn/7dPyt86YaMZqT4ggKNerRCXGkKiTuUI4OX52VE1N9v RVdAaJeEr+OHeET0kRH4F8VuqTn/Y73EPVL/NsVy+afUAyLrjvEf3m5yG7YLt9mzxTAT dVLWRMHVzmrzd3htQCSqon1g0C3jaXzxPCZ42vTOcOj7r4G5zV0wGIStZnUAHnHMYW1p fRLA== 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:mime-version:content-transfer-encoding; bh=bIwXZuVFcex8c2gsnRtwJL32LXPTCWgJCQzC/Gsa6O8=; b=i4iEGftzR3J1P6iGXvavAPE61zrcLpK4u0JnofVz+h92ia2zobxwDbGbwKQr4eswpI ZooNeytALL1Ha5vTImtirliDGHOn1bYAphYe93HA4IIqIUQC/PFW5A2ydOC45yzISwBx 9OjFqzsfrQNWoI1D39eGSaRr2+sRR2Yg9KkzZMlXkXC5bETIH5U2R/xDS43q0C0WnPfM qFTejlJDfFwMQZ8bDFCqXWJQF/A8rbQrGGs/m+kA8chZjagLlLVXlQH0cQkF6E5ewkxq UEUD4/LSVaCwt8xavywKs/Pbf1nwWgIBDj9kxvZ+DWqNgk8tHS/dP5KymzaXD3iH5oXt dcrw== X-Gm-Message-State: APjAAAV9RHeXtQVjYqah0NJcuNq+8VJvJjZDr+nW9JsGU9i0MuHPTmqB Ta++j+MdznDBiXDRi++Smc5Acwkv5Mk= X-Received: by 2002:a17:90a:86c2:: with SMTP id y2mr12391573pjv.105.1571420689679; Fri, 18 Oct 2019 10:44:49 -0700 (PDT) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id d20sm7857534pfq.88.2019.10.18.10.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2019 10:44:48 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v8 14/22] target/arm: Hoist store to cs_base in cpu_get_tb_cpu_state Date: Fri, 18 Oct 2019 10:44:23 -0700 Message-Id: <20191018174431.1784-15-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191018174431.1784-1-richard.henderson@linaro.org> References: <20191018174431.1784-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::542 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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> Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: Reduce overhead of cpu_get_tb_cpu_state
|
expand
|
diff --git a/target/arm/helper.c b/target/arm/helper.c index 3f7d3f257d..37424e3d4d 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -11225,6 +11225,7 @@ void cpu_get_tb_cpu_state(CPUARMState *env, target_ulong *pc, { uint32_t flags, pstate_for_ss; + *cs_base = 0; flags = rebuild_hflags_internal(env); if (is_a64(env)) { @@ -11298,7 +11299,6 @@ void cpu_get_tb_cpu_state(CPUARMState *env, target_ulong *pc, } *pflags = flags; - *cs_base = 0; } #ifdef TARGET_AARCH64