From patchwork Mon Mar 6 00:39:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 659166 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp1573586wrb; Sun, 5 Mar 2023 16:45:30 -0800 (PST) X-Google-Smtp-Source: AK7set9TToc9xXZCSr/zNnfsR8uSp+E6/YIWV2ktFyyS12xjgBXQmd/1Q9N90ekeOTv/eEMn8KNs X-Received: by 2002:a05:6214:2a82:b0:572:636d:625f with SMTP id jr2-20020a0562142a8200b00572636d625fmr16876468qvb.33.1678063530365; Sun, 05 Mar 2023 16:45:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678063530; cv=none; d=google.com; s=arc-20160816; b=zOJHO9SYj4VKoSpQslXKjDVcedut1Jyt+2WPDk3Y6syOuEQ2P1Yu7BMlixOtuCbX6i hSYzYYTvzzf5wV1c0PqsrauYktDwt/x9rM8MlUfsf9uXcGmwB0ZemOShNCsVSKF7YcG7 lpLvci6fVBJY7p0AwWfx3WG3QQu2YINUPxP8xkNlclVXUZM793K2HgxMict5uCijRZp8 mXMxCjFNeb7buxxzpsnoM/GUB7y8FreOpPLyo6ZP/PpCog62S956lyakeFb5MtSwQmdJ PKF+9CEVCDapVEhzODzL1QZg2A0X3npnFwXlz3qzqx0HxSauDg78MONanxbA3+Fb2t6i VmUQ== 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:cc:to :from:dkim-signature; bh=me2W+fTlJlqj7feis7BNDFbPcNy0iYOrCgDuOWs04xQ=; b=X5OMFcvv89pDRa69rzfVv5vGaGCfRdZYDTQWxZeZJZdi581uND8g8QWP6P1zRYufuA ukDuKiMwN4wHYQMWKbBNaQJ3IOIgzGTWrfJJgOjdOVPMx7B7Ppx/VH3k6H2vaYTANdkd DYVE4hhBFvzRn69mjW8w84HQ+SmbjNnrgXmw+jkealnXg3ViAVb6HmO8xmLXhgFPIC+R 3PKGXR/2OYErtxn1+ipl2Eg03HV6Sz4tflG0OD1K7Al812wraxMmKQniQ+2zVPhuHqJD xjGCRuMtvgvx4C+S1zyavWWFz9s6JTtwu+6r4KaCQVQOPdJQRghw8qtHJyfcY/D5tv2Y Jq7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B9WIvpWT; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h20-20020a0cf214000000b005722510e2e6si5961627qvk.417.2023.03.05.16.45.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Mar 2023 16:45:30 -0800 (PST) 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=B9WIvpWT; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYyui-0006DN-Rq; Sun, 05 Mar 2023 19:41:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYyty-0004WS-62 for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:40:32 -0500 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYytw-0006mq-6M for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:40:29 -0500 Received: by mail-pl1-x62d.google.com with SMTP id x11so3972600pln.12 for ; Sun, 05 Mar 2023 16:40:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678063226; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=me2W+fTlJlqj7feis7BNDFbPcNy0iYOrCgDuOWs04xQ=; b=B9WIvpWTjoMqXTS4kt2QFXmBo9Ub/KK/9RIJcH206+7AlM7qCdAnG+/0GsHg9r1oDf jPNGs3/NB9aE5zJC9HuQgNVdG3J6YiFtQ+HA+JZXYK33fYMf7Vo6fNiBT1hmFJQb6x4a OBKeAI1Ae3CoC37kvZrVuNLdWMAgZGIqsfNfI5U4fJ42ff/jDZagiH64YB/Zx6lVu2mB ZcFuMuyliLxwfL/NU1sGgAfGUjz5skHGBZ4A1k2yaRoOpQsm3ps43DsknWSvU79d5n5m vvht5+rgjRIXr4euH3njaKtFd1TUjQnYiDwC1jKQ2OB9drCWMMwLX/tCNx/VLsHXarGW 24Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678063226; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=me2W+fTlJlqj7feis7BNDFbPcNy0iYOrCgDuOWs04xQ=; b=VtCvuHdNuVJsqYu3+56qTR4c4SccdlFgQ04/gSeQufrfMIxdWQqGVRknHDwT1CgXKY 1f2yZ3/oOgHfHrUGXZmD+OutI2vlw1kfIGd9191Mzyb5LNZ/KfijsMdRDnbGsficKRw5 yvbrbOA3kJ6k+baRpPI8TK4Q1y1sxNpQvhG53bzBPOdqP0L64y98Kbhc0Yhdmdf+JWLn IDASZWn+o/33pa7xoXCsOm+UNz1SOry0p5wQAo9mjdytBj1P3t4RBllUBujUNyG/8Cb8 YoCeIrP4jMwINqdBTnK2aGDCSQquUh6JAVOmePONKUnJ8WMFxUGJ9K3BT0IzhKZhenl2 opvw== X-Gm-Message-State: AO0yUKXW3ZF2kgqpEWhiYpaFAuKOy8dH/LyaRqWbESZZtqMICCy8YM1Y 88L8mbwk0isJRx/ohAwD06iQP3BAbDcZvgvdQG+QVg== X-Received: by 2002:a17:90b:3a88:b0:237:b702:4958 with SMTP id om8-20020a17090b3a8800b00237b7024958mr9678830pjb.38.1678063225904; Sun, 05 Mar 2023 16:40:25 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:87cc:49bb:2900:c08b]) by smtp.gmail.com with ESMTPSA id r13-20020a17090b050d00b002372106a5c2sm6567901pjz.37.2023.03.05.16.40.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 16:40:25 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 34/84] target/cris: Drop addr from dec10_ind_move_m_pr Date: Sun, 5 Mar 2023 16:39:04 -0800 Message-Id: <20230306003954.1866998-35-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230306003954.1866998-1-richard.henderson@linaro.org> References: <20230306003954.1866998-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62d.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 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This variable is not used, only allocated and freed. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/cris/translate_v10.c.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target/cris/translate_v10.c.inc b/target/cris/translate_v10.c.inc index 5e9d1c0fe8..4f03548365 100644 --- a/target/cris/translate_v10.c.inc +++ b/target/cris/translate_v10.c.inc @@ -800,12 +800,11 @@ static unsigned int dec10_ind_move_r_m(DisasContext *dc, unsigned int size) static unsigned int dec10_ind_move_m_pr(CPUCRISState *env, DisasContext *dc) { unsigned int insn_len = 2, rd = dc->dst; - TCGv t, addr; + TCGv t; LOG_DIS("move.%d $p%d, [$r%d]\n", dc->size, dc->dst, dc->src); cris_lock_irq(dc); - addr = tcg_temp_new(); t = tcg_temp_new(); insn_len += dec10_prep_move_m(env, dc, 0, 4, t); if (rd == 15) { @@ -816,7 +815,6 @@ static unsigned int dec10_ind_move_m_pr(CPUCRISState *env, DisasContext *dc) tcg_gen_mov_tl(cpu_PR[rd], t); dc->cpustate_changed = 1; } - tcg_temp_free(addr); tcg_temp_free(t); return insn_len; }