From patchwork Thu May 21 16:39:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Robert Foley X-Patchwork-Id: 187017 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp1714337ilb; Thu, 21 May 2020 09:47:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQyBkq0AQQAcJL9EiOBUwz4T7ugsrtxD2Ib+RmaBSxrC1LPB0ODMHqFWDI/lgmGvw/4h/t X-Received: by 2002:a37:7246:: with SMTP id n67mr2189284qkc.303.1590079654355; Thu, 21 May 2020 09:47:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590079654; cv=none; d=google.com; s=arc-20160816; b=UjWUZ/r6e/LqIq/sXb4co1YeXaauxTHelMMaES5RXxKnR3U07utiJObxi5ZFyDzXuw cRDn49MpOfghC5ZIurVCjVIitBHTUWH13+n7YnbZdSCF7lMsWLdJasdllkl3koLbyKS2 D1hExHe8/Gm9BBcSu/bher+OxdCd8A9FLuvmi7E67tmhHDwBiDH1YGMsxWkYy5tzOCeX iL3ES3ZcmUVXQWongt1Pmr9slTN964eTAJ/cOXY/y3Do0yjSnbKsuFDR6H88299xptNc CrVgqq9OXisaEhKfeTbxFeQ9HjzCi3emwKV+b64LUdCgcOmJF4YRgQGnkpxKxyOhZKoF IVyw== 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=wrWqzZuurKLoDMN6QCL6bZgCudK/zrEU5r5KFbp+gtw=; b=Fm/szqbW+65BiKxdVuN6oRVvg4d7vsnEKBfJSEJJ+bZi7SA6mKuESj4iZQpFLhAeUx rGe1DGYfqOHmvEZcZWhY0U9FvCUOhalDOLXF0usF6L4lxvLE12I3gIak+PdCqcVYtN7z 1sUylg+r9rJueCcGAkfdpJi2odE8HokDpRwlTMyVOO4BWgt9jkyirUdT0GExke7m1bPe Abj1587VkJoaOOQoR95agSkw7QIUMtFP4tbDM8nuCtxRjn35Evge83T1oGb0HM/436Ws KfVvFjZ7xtU1Pc+nvUIZk8YKDEwEP27/7WhEuLOv3nXmu0fdWVTUNjpwjpBVfSTDHYrh jsIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YmuuoF5L; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d6si4030840qke.272.2020.05.21.09.47.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 May 2020 09:47:34 -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=YmuuoF5L; 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]:40626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jboM1-0002Lw-Pw for patch@linaro.org; Thu, 21 May 2020 12:47:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jboI8-000228-23 for qemu-devel@nongnu.org; Thu, 21 May 2020 12:43:32 -0400 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]:38339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jboI7-0006W2-4a for qemu-devel@nongnu.org; Thu, 21 May 2020 12:43:31 -0400 Received: by mail-qt1-x841.google.com with SMTP id i68so6005767qtb.5 for ; Thu, 21 May 2020 09:43:30 -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=wrWqzZuurKLoDMN6QCL6bZgCudK/zrEU5r5KFbp+gtw=; b=YmuuoF5LDaLC9LPJFJ/OIGT/lFZhaggYW7guEd37vYOaxxRGX3CYGksjL+A29Pkhwf o++J4eNpgjnAUhOl/PaQW7sP2c4QlcHkcKOKf9A9CNQXmGssLOkqFR/dvVmq7KXJ9wup QjIkdJG8kC9o+aQOoMx1bZO3imXwxJk4lH5njtI8JcI32/ZiFccR03ksZeGTFBj5Xb3B W8TFGmLqGGjHpHZZvWJFTFD7+kN6u9EeakOrxTxTqPCiXP1IQP0uXGtW9L1s1K9yjZly TUcEiwNcTTkoK0Rl5gqWb5AnZS4D/HZbVDHT02fwfJt4Ep7F0seGmq1DTKfD/nue39FZ 6ooA== 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=wrWqzZuurKLoDMN6QCL6bZgCudK/zrEU5r5KFbp+gtw=; b=tq6VNt8SG9J8jhpIANrlRmSt5Tmnyp5u7sHzdcsN4YvuTqXMxAnIbQ17A7F15yI0gz JzoJTS8gIfhZFV6IWyt1ZNnr2NRc4jQjixMdC/X35GXaqICeM2L/sOH4sofiyx2FvJrv 9WV040HBwHa26wXE9DscqVuuAkqdW/0CHNWXH9IAsskwGJ3zvNlpzdsKBNRHxHpd1bW9 AnopmcrIhj633rILObtQ33zTmpTB3kOxxBMDdauK+Lv1GC4eW2m6JCYY8C9Cie7nja1e nwuFW5z8lXMCUfcdlGjU4SDBkWMQ6MW77LHFW8vnTlC9Qt80rejB9U3OHKkWRjoZSaoW vEWg== X-Gm-Message-State: AOAM5310na1X6n0sKRG9PZKDXxmF7yDRzc0nzgVY2+J9TtZCnjZCXGpq +Ttgy4qTBoWcCF1X9A984C2QAOzXJMfjrA== X-Received: by 2002:aed:35a1:: with SMTP id c30mr11731970qte.228.1590079409933; Thu, 21 May 2020 09:43:29 -0700 (PDT) Received: from Rfoley-MA01.hsd1.ma.comcast.net ([2601:199:4480:60c0:1944:c530:655c:5583]) by smtp.gmail.com with ESMTPSA id x24sm5923829qth.57.2020.05.21.09.43.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 09:43:29 -0700 (PDT) From: Robert Foley To: qemu-devel@nongnu.org Subject: [PATCH v9 11/74] hppa: convert to helper_cpu_halted_set Date: Thu, 21 May 2020 12:39:08 -0400 Message-Id: <20200521164011.638-12-robert.foley@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200521164011.638-1-robert.foley@linaro.org> References: <20200521164011.638-1-robert.foley@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::841; envelope-from=robert.foley@linaro.org; helo=mail-qt1-x841.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: richard.henderson@linaro.org, cota@braap.org, alex.bennee@linaro.org, robert.foley@linaro.org, peter.puhov@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée Signed-off-by: Emilio G. Cota Signed-off-by: Robert Foley --- target/hppa/translate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.17.1 diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 52d7bea1ea..9c4d5b28b0 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -2725,8 +2725,7 @@ static bool trans_or(DisasContext *ctx, arg_rrr_cf *a) /* Tell the qemu main loop to halt until this cpu has work. */ tmp = tcg_const_i32(1); - tcg_gen_st_i32(tmp, cpu_env, -offsetof(HPPACPU, env) + - offsetof(CPUState, halted)); + gen_helper_cpu_halted_set(cpu_env, tmp); tcg_temp_free_i32(tmp); gen_excp_1(EXCP_HALTED); ctx->base.is_jmp = DISAS_NORETURN;