Message ID | 20200326193156.4322-11-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 e7csp449718ilr; Thu, 26 Mar 2020 12:41:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt97qENe8Gxs1vvWmquhoeo8IQwnrYTRNi1Jw7eMHykJWIo/fleeLdou3cBK8eO8J0IpXGx X-Received: by 2002:a37:6509:: with SMTP id z9mr9924572qkb.462.1585251711369; Thu, 26 Mar 2020 12:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585251711; cv=none; d=google.com; s=arc-20160816; b=hd40hYxPJrsZwQeZPaQ/hC3vTUkxR/g8dy0DrDT9VM47xi+IED5gLZK9/pMnrKBWpd HPyVl1457p8xP0c8H7t7JjAJ/2sifnCXYH+4T+BxHy6ae1XOVONiXzkpfLCoKECIuTPT xXmZgsGlGkm1MvLjw/Q5GMEqNFKWKt83e14LAsprGRng5xffxQrqeiXnA6Rr8d04e2d/ k84GpytIdA+zNl7O0K8YTF/FhCkB6W8SRpo4QZ2GeqvMVMx9wAVJCFx8AF2dMkAbnpa0 vTYKdFRh2IeyGUwIVsESjqBwCY/T1045TnWAbthgO18EkG5PyVa1yHnC2Ay1owF8a+sZ E3fw== 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=pu4aLcXEpuJ4ytDOMXC0XbbDo51phtIicVpeJSCDXFU=; b=XCLLvEezHgHKSFK6DwhVUYhogiImN8ODX9NGIolvDha8VSbQZ1h+eLsxmZ9o/qnOrL 3PGhkxQ1YGZDkRmOvTUduzQPIXgz+95Yye/cMr3noxhg0pbuQDx2I/SWxIO2F3PCW7Ka Xi7PJWl1ctP9vonySvSZVrEeFdM9ouuad5pBWkMuVS0ZrZQ3DhdCreaakZ/5IRu+riGJ +RDGWfcIj7Xoc9gFUgF9pIqjbgLGy6AUFzK034MEj8iLPW36JLLeIR/BX5fyNnPs6HHU yfMQZLtJM30V4WSDcJTKJQR4fsrRlgEudCFEuQeq/9lzUNsh2CH4RcLcFnMj6/wkm8O9 T7GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=BtlKayHq; 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 w1si2061355qtk.25.2020.03.26.12.41.51 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Mar 2020 12:41:51 -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=BtlKayHq; 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]:58700 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 1jHYNy-00051t-Se for patch@linaro.org; Thu, 26 Mar 2020 15:41:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58482) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <robert.foley@linaro.org>) id 1jHYK3-0006Dw-SL for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:37:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <robert.foley@linaro.org>) id 1jHYK2-0001Qp-MY for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:37:47 -0400 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]:40087) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <robert.foley@linaro.org>) id 1jHYK2-0001QV-IJ for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:37:46 -0400 Received: by mail-qk1-x742.google.com with SMTP id l25so8183547qki.7 for <qemu-devel@nongnu.org>; Thu, 26 Mar 2020 12:37:46 -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=pu4aLcXEpuJ4ytDOMXC0XbbDo51phtIicVpeJSCDXFU=; b=BtlKayHqFQQ55nfGp3i7vRGrV+mifLzZWqU0R+K8tcx3vlsbCbJNG/wCujZlbFe1ov jM2NwSXEB/I8w9t0IpTKU+vzmjSMgcddKLcoLaIh5KzJGumF6eUnjuaIGKWgP9UGh3Zb zAoG01Et2WqsfcrkVZBqTCsBZCVxJy8fs1TlaoBjPJC0dQvi5QrVAwa0uPAtz/sQbgLR nkyLuL328fJYAoXpf0xBc8jwcDELG10X3PuF/yDitk5fiw90ViilX3Vch7DY9nL/0SFz OwIQrhofDX0t5BWPuLB7Tlf2do5bsmFTN2vgfPjNn8qIUWWshH4ZpNhSjt60ASfZ0Oi6 VK5w== 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=pu4aLcXEpuJ4ytDOMXC0XbbDo51phtIicVpeJSCDXFU=; b=dqXdVm7b/NA0Wr2N5pQtCtgpqrnNdn9s9SoHdWbIzOxBwzP6tfAEWU8p0sF8Ndg7nH qZnwBHV2n3LE/rs9MU+BJg/GycGl6+lV8u+AaZrfSvOXP71raP1H3etnlvxu6L3UG2zq PyLbJyFMtevhL/sHcNoXdJwlmbWgv0htR7aXawno3fM/yB6CLjuJzN/IiKshHTWR1vIT mYVoA8NBRcGGc3BykRrBwYGIlk4y0OGJcW2jQjcod/ljOlTFPsg7WDtlRQAKoi0rXKPQ jQmpGD2UspKFegk8pIsMzjxJC7e7IsRe6z0eL9KreMp2V/gF8WNkbmx3/J8Usf5/fM7d aeUA== X-Gm-Message-State: ANhLgQ1CinaKlY9/qH6NPE0cTEZ3VoVsScjQ/BVliC2ZIouZvm7edRK0 m8mMbOvRSCbB4jjfkfn3BwlTO41S0vFGAQ== X-Received: by 2002:a37:7002:: with SMTP id l2mr10334824qkc.372.1585251465839; Thu, 26 Mar 2020 12:37:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 12:37:45 -0700 (PDT) From: Robert Foley <robert.foley@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v8 10/74] cris: convert to helper_cpu_halted_set Date: Thu, 26 Mar 2020 15:30:52 -0400 Message-Id: <20200326193156.4322-11-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::742 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/cris/translate.c b/target/cris/translate.c index aaa46b5bca..6c4f091b7a 100644 --- a/target/cris/translate.c +++ b/target/cris/translate.c @@ -2823,8 +2823,9 @@ static int dec_rfe_etc(CPUCRISState *env, DisasContext *dc) cris_cc_mask(dc, 0); if (dc->op2 == 15) { - tcg_gen_st_i32(tcg_const_i32(1), cpu_env, - -offsetof(CRISCPU, env) + offsetof(CPUState, halted)); + TCGv_i32 tmp = tcg_const_i32(1); + gen_helper_cpu_halted_set(cpu_env, tmp); + tcg_temp_free_i32(tmp); tcg_gen_movi_tl(env_pc, dc->pc + 2); t_gen_raise_exception(EXCP_HLT); return 2;