Message ID | 20200326193156.4322-15-robert.foley@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:de47:0:0:0:0:0 with SMTP id e7csp452148ilr; Thu, 26 Mar 2020 12:44:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs+lecTjESGWawSC+9HMAGRICcNcOQosQ/TXxXB+uAcCI8tdOq3M2H/z1eACxXKKdN6sKoM X-Received: by 2002:a05:620a:1025:: with SMTP id a5mr3501175qkk.365.1585251883356; Thu, 26 Mar 2020 12:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585251883; cv=none; d=google.com; s=arc-20160816; b=aHPNWLlLS2U8kNMiaxPF84QwWHEf0pIktsZVolkmVJqyNY5g/JigZzwWS2gGB9IhE6 GHoOVdj2jmVz2Gy2w7jQAuYz+kzeM0LCajtQQRLo1LNJWIkmlxInurXTgav4K8sEBT/q eAjtefoKlIZ0btd5VQitRLkC0OeTo+NjhZZv1RmB7D1ed4OPxMvQKd/nGTL4wbNisClt 9PaLX/ZQY+VRgwCdrBJG4Ya8Z4JPtOe9UolbteYcJuahdp+YVFZbak4raS9hGswEIay8 EoWp/9D+Ir4Roa+VN/jLW08fsR0D6F29Fep42OZoLO2p+K9Sq4mhW0oiMmvQhIeIyF5h 7TrQ== 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=klf9qVFdgtejUVaZm03YCM6EuSDU/7CS5KQfsLceHvs=; b=etYWBjw+w8J05I3lr3T6LTMrT4ONmU/0WvLshOgpVQpGX2jAZq7k3cveEbdL3hwJ0e iUKq1RTaPFylkhXeM17CGqNtLDNSXGb7PFmnDuePCMz1nLBMZCTGflfK6vJKRjzy502L GshU2dEMKlCi3NRDjuietVk6Z53AP9diYk6aRDmuXYXTV6Hq5OtgsrKSNY2v1Dg65L+7 pwGjIHq3L0Nun1qR5DdgUUTF7IO8kcKCqhc3zix7il+M88oNZV/LyM5gB6Eto3/HHqO0 AgsArN5Ewf7+OS+c3oqT6YObi4j/z46LOqUMtkKEkpf71fs5rc7NM7tLTM1rgx26VHXj kjLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CSydcz3f; 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 s57si2102895qte.37.2020.03.26.12.44.43 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Mar 2020 12:44:43 -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=CSydcz3f; 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]:58782 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 1jHYQk-0002Iw-OX for patch@linaro.org; Thu, 26 Mar 2020 15:44:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58540) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <robert.foley@linaro.org>) id 1jHYKA-0006Te-Q4 for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:37:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <robert.foley@linaro.org>) id 1jHYK8-0001UB-Me for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:37:54 -0400 Received: from mail-qv1-xf44.google.com ([2607:f8b0:4864:20::f44]:42843) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <robert.foley@linaro.org>) id 1jHYK8-0001Tu-Iv for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:37:52 -0400 Received: by mail-qv1-xf44.google.com with SMTP id ca9so3690098qvb.9 for <qemu-devel@nongnu.org>; Thu, 26 Mar 2020 12:37:52 -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=klf9qVFdgtejUVaZm03YCM6EuSDU/7CS5KQfsLceHvs=; b=CSydcz3fPydfjRTN/2AGoGyuURZiJwJhHIv3PLzipl14r0ubkUqGaWAIXZanyTynj0 KjxEy+5B9W4c0ORKEUeQHpmC7E3IGMdn2plQyNjf40h2t0wmgjUnv3f+XzOb2eZaIbyE jfvFiXJik1t9meSt4Sup+MpIejanl1/Fdx9D+832gSZOiq1AeGIaz1pY6tfclkJuSa4Q /3LHN6/ESDT7PyyL+sxDCF10khi0Dqoxywk2rNpf1gsRHvAOvAvEchttcNYgmjbsy3pb TlAN7ixwnyo2y/1l0wUSEellFvvOFWoP3OSYEZF2b21OuDp/Vg9GlmMEOVt4RlGlOUe3 y75w== 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=klf9qVFdgtejUVaZm03YCM6EuSDU/7CS5KQfsLceHvs=; b=TxcgOsNcefiVO13xD0r1VIz+qfCeWRkkgGppQJURyNvXjmkuipD80MVaduQ3Svri5h V3nl4fbfzo0hmXyh1WBMivTS1ybhwwTbalA/0M0JmWdXReoY5Kl9jEFzrCd0ZYXDXn2Q 0hfx8Mm+J+8oL9ndnbGHoX7b3WDSvhFOJV7Da42Ai63R37VTX46omHjB8Efo8wyncPTc Wh68IPG6rN+elw4LE60yCcnhHmZlB/AdZkxkU8mgtX5Q+cjyAGaiZLSlnD3Fom1CM/Vk 7RnTX2ifqY1JSocP7AXe5a1oj0FeeHjnUtQCyc4EENO6NUhGFdCFgB3P4PLj8IeGrd4c zDdw== X-Gm-Message-State: ANhLgQ2196CXDP6MWPvlMGD7CkzqLmTyAEXunutoBMT/C+uWZOxZJKZO HD7sE44zk377WEgEo5xv/pYT3GdolFweTQ== X-Received: by 2002:ad4:46e6:: with SMTP id h6mr9918078qvw.208.1585251471034; Thu, 26 Mar 2020 12:37:51 -0700 (PDT) Received: from Rfoley-MA01.hsd1.ma.comcast.net ([2601:199:4480:60c0:fd55:4e67:1038:8302]) by smtp.gmail.com with ESMTPSA id u51sm2161916qth.46.2020.03.26.12.37.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 12:37:50 -0700 (PDT) From: Robert Foley <robert.foley@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v8 14/74] microblaze: convert to helper_cpu_halted_set Date: Thu, 26 Mar 2020 15:30:56 -0400 Message-Id: <20200326193156.4322-15-robert.foley@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200326193156.4322-1-robert.foley@linaro.org> References: <20200326193156.4322-1-robert.foley@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::f44 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: robert.foley@linaro.org, richard.henderson@linaro.org, "Emilio G. Cota" <cota@braap.org>, peter.puhov@linaro.org, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
per-CPU locks
|
expand
|
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index 37a844db99..deef94a471 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -1236,9 +1236,7 @@ static void dec_br(DisasContext *dc) LOG_DIS("sleep\n"); t_sync_flags(dc); - tcg_gen_st_i32(tmp_1, cpu_env, - -offsetof(MicroBlazeCPU, env) - +offsetof(CPUState, halted)); + gen_helper_cpu_halted_set(cpu_env, tmp_1); tcg_gen_movi_i64(cpu_SR[SR_PC], dc->pc + 4); gen_helper_raise_exception(cpu_env, tmp_hlt); tcg_temp_free_i32(tmp_hlt);