From patchwork Mon Mar 6 00:39:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 659160 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp1573191wrb; Sun, 5 Mar 2023 16:44:25 -0800 (PST) X-Google-Smtp-Source: AK7set8y/qQALmabQ3Jp40y2SZp3Mlr2K4lNs2mfzKxHgdKE4ISwa4BGKyP3vg2OllhzM3uJ2mBH X-Received: by 2002:ac8:5b44:0:b0:3bf:d688:2a7d with SMTP id n4-20020ac85b44000000b003bfd6882a7dmr14469477qtw.26.1678063465495; Sun, 05 Mar 2023 16:44:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678063465; cv=none; d=google.com; s=arc-20160816; b=k2/IOoxhDAwbCfcaAq8Z/xDK3lO/wOfixTH/G9Yng3/XvqiVJnHZtzSYwQ91AHaxOi 4N5yJLOVA0IROFxlqa2Iq8JXHhKQX/3f55qr/jTtaQggm+4tZmzJIaIGOJXqSDoeeCx3 kyNIQkPaOPwHZHFBOvamXrHnTkiNjw4zFGv5hNbhQSO7sdaFQFSs5gN8wjX2NOWc5w3R mhpH4+EasjyrkNFW3gNJ2aUOiXfSmqmAD9f6EQKQxMtykIVkqIQ1lJ3wMQ7J87FhsMws yuo2lzCavFlxEkExGOd79Lnqd0MSwxBwlXcYsfKXj94yWHNhcKEfo50RFJbvZVZtnigo bcGw== 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=kfSIcs2kYXJieeaERSRfIUg2bVd+2Gvz3YbqekvGrNg=; b=GAqUXR4SDmZnU2v0a+AmxLMh8etS4Pm2cMFUv6AvclBSw2xdb53bbqAtfhveTpHuXI bNRYaDa7Bq3WE229w0n94WwKoDI9APTflQqAq7LqW+e6zHOMIxmLuqhTX3RJNoxLzeMO 2Ni1uXGVz/swI/8f7IKLhyJxbCX0j+GFzd1iZLZIQ+pDWUJeM49hMfU4gtMrGY/OiMC/ 3cpyfomzqDLVo7SS7C6ZdDK0AI2SMCBzhGiMXui65yNicCQzh529v5vjSJQPUCydbO5U CWtwxmlGRV73n3C7wB6eE16bv0bntey/J9XTymPQCsb/fyrkrspazb8L++D5m47rWYUs ztpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DXkHILNY; 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 a198-20020ae9e8cf000000b007431098bcc3si6202933qkg.447.2023.03.05.16.44.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Mar 2023 16:44:25 -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=DXkHILNY; 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 1pYyuh-00063g-KG; Sun, 05 Mar 2023 19:41:15 -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 1pYytu-0004VM-KN for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:40:27 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYyts-0006ia-Tk for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:40:26 -0500 Received: by mail-pl1-x62b.google.com with SMTP id p6so8576300plf.0 for ; Sun, 05 Mar 2023 16:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678063222; 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=kfSIcs2kYXJieeaERSRfIUg2bVd+2Gvz3YbqekvGrNg=; b=DXkHILNYmJAm6a1Rkdy8nKjh+B6KXHGCNXhI6xRUyn+LWDpkp6Idy2TLxQ8IS9Q/DO rjm/u1iAX98uajN29YoVm2xfCToDqD2RLqu7ZulYqNISgpFw2WGku8je44nC9rX12Gek Bh4KUn8kLo2GnH13o/Ig5h5cwgNQJ9QWdN+2CAUEcBybcCgw1LJYCv/lNZDF3a/SMIQb xe14cbrfj616rvbaH/AEFs8pJvl7Zt6kv/jwarAHEnLGCYwmoKZVFVesIWRgIa0o1UoO IIImavXK7rt2W1u2yPi5SshOebw8LAtUCuVl/pJ6p9Aif/1tLhYfDwqFMuXEBsVf5Zch STow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678063222; 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=kfSIcs2kYXJieeaERSRfIUg2bVd+2Gvz3YbqekvGrNg=; b=ZnvQXQgzHF1xCqNhdnk7FBIfKLIOTwNkpTHVvjWzJDh4a1XfNXDkEV7oqNZN2ESI2Q F9vjW8fxyu/2kYPFzyNVPuZ3WfErHRNdS9kCeDErCO0i+uz7GVOtl5rly5i3yuuSXm8M PIL28Kho3OFReRDVfLLe10dfrgb33P7gtNUp946EhsoMKPALuytWmXA73QbM0cmgQajb 6qrLApTK1VRCwgHxS4bxQwsKLaeJ9JjhPPFhNe8rnZ+/1DJ0k9a3ZBvWpXCfWVxL70k6 733hhv5/OCYD14TNEeeTQP1E/DfBTR92D/ghlv4e2xa0U9xpiNonYlOVBRXsh1Qb/kGW GJGg== X-Gm-Message-State: AO0yUKWU3WGsLh05Pt0XC06rfe8sZwa0tF8e+VKaX+gIEXq78oQHwEIs 1BntJv5DII0ddrmOLU/EmcGmQ+PFZzxd2pC1cHjczw== X-Received: by 2002:a17:90b:38d0:b0:237:24eb:99d8 with SMTP id nn16-20020a17090b38d000b0023724eb99d8mr9905175pjb.19.1678063222504; Sun, 05 Mar 2023 16:40:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 16:40:22 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 30/84] target/avr: Drop R from trans_COM Date: Sun, 5 Mar 2023 16:39:00 -0800 Message-Id: <20230306003954.1866998-31-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::62b; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62b.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/avr/translate.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target/avr/translate.c b/target/avr/translate.c index e7f0e2bbe3..4f8112c3e6 100644 --- a/target/avr/translate.c +++ b/target/avr/translate.c @@ -670,7 +670,6 @@ static bool trans_EOR(DisasContext *ctx, arg_EOR *a) static bool trans_COM(DisasContext *ctx, arg_COM *a) { TCGv Rd = cpu_r[a->rd]; - TCGv R = tcg_temp_new_i32(); tcg_gen_xori_tl(Rd, Rd, 0xff); @@ -678,9 +677,6 @@ static bool trans_COM(DisasContext *ctx, arg_COM *a) tcg_gen_movi_tl(cpu_Cf, 1); /* Cf = 1 */ tcg_gen_movi_tl(cpu_Vf, 0); /* Vf = 0 */ gen_ZNSf(Rd); - - tcg_temp_free_i32(R); - return true; }