From patchwork Mon Feb 27 05:24:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 656821 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2182472wrb; Sun, 26 Feb 2023 21:42:59 -0800 (PST) X-Google-Smtp-Source: AK7set/BEwZL0/b3UqydpZXmZcC+E0Qe9zUTf3EfdZf0xMOHVajJlsXVidrfT2TGYlDCdiY1gU6n X-Received: by 2002:a05:622a:3c6:b0:3b6:3787:679d with SMTP id k6-20020a05622a03c600b003b63787679dmr28094707qtx.8.1677476579331; Sun, 26 Feb 2023 21:42:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677476579; cv=none; d=google.com; s=arc-20160816; b=NXaQtgcVVt0jLo+78hHLaEc+9PxsnGS/FRtOnn2HKl7+hzvxcHop8wecqBrZp1RoKI xrVyv0rKe4De9Mh1snDxjvTC/FrE4Olo6T5j1enhido8RxDjPsjgmAAoTAY75YsEDvYi fUzfB5zPNwLapYunNT/vfvC/Hl0msV+feUFth3RHFe8K+mwEm4BFfh5DfjoPOSBaLr20 Z9gx8YMgIHOpJlgrfwodmKUJ8ApAtzz68QhtoOp3iNRAxO6RA8qri09LfwZaqXxFRExi ydqiJdN8oAW0MmKX8qI6dcjiI5m7TfbmHdenffPR9IY8FYRhiuSCeUK5WIIhKm7vc/nh 1k1w== 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=sDmUkw3rhG8oPNlT9S5tPo3W1aQ6y0j58Lj/IZXgOuc=; b=OWUTxpkbaCE50fvY4UHVSGvV2TnBXKh3GfNf1/eNMsq93I9VN7aHOlzBX56Q+VkAxB WH54h/C+h6DL6x3ylXtpcKMjjTT7CeaI99H4dF88oAQqmqWA/jfYxom7u9e04cK4vCnU agJuv8sadaLqEv7LygkxTmZuRJPeLY7eGIrwViRsMWcSagYgC+RB0h5D6reykoXhYfQs /poISfTEMPGqwy4wotkoegAL6MsrBH0HOK6muIEJOEXoRM1Q393Or1FOWqWu0eCCwUuN Sz7Owv4mdoRErnd8iHOa7rhVQ0vCzPhYdahA+gxjW9QpNgR+i0FRIXx0ISfIWqRN7wqO y2TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=haYDju3O; 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 h17-20020ac85851000000b003bfdb738268si989773qth.737.2023.02.26.21.42.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 26 Feb 2023 21:42:59 -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=haYDju3O; 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 1pWW1l-0007mr-OW; Mon, 27 Feb 2023 00:26:21 -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 1pWW1V-0007KM-27 for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:26:05 -0500 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWW1T-0007Cv-A8 for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:26:04 -0500 Received: by mail-pj1-x1035.google.com with SMTP id me6-20020a17090b17c600b0023816b0c7ceso912436pjb.2 for ; Sun, 26 Feb 2023 21:26:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=sDmUkw3rhG8oPNlT9S5tPo3W1aQ6y0j58Lj/IZXgOuc=; b=haYDju3Oq0TFDt054lTRvhpdyhG8zQrYLQgWvStwosYWTF7DfYk1IxrgEN56G8Ay3w YUW2gID5JRO1+LtFd5OVvVUjd0UqENyltlH8lLIEfOplJccS5zqyLaP1LhVpF5dUNDoY j5SRjKrK3z0+yP0BmVioTx3RNjwNU8aC5WTkmYp6VXdOXcyndO0yDRm4NzbxP/tRqrkl 1r0Jo/KJ0IcahaTmeQtwD4x3ALtjXryAboDgthVJLy7eWtPFRUniWYaBgNaF0yQJ/ceT glgsE/HfF2HdhbHCCgV5TZOq0OfgDDMv81QpEvGg8HCEE/bImdlOeCn07NwiFjxE+3Ui /KZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=sDmUkw3rhG8oPNlT9S5tPo3W1aQ6y0j58Lj/IZXgOuc=; b=s/DjvohZ0IBlgk/aWJHh4YHKuLgPv4Vv+eA9d/T0UKbp4ndvY3ROYfGFSzYZzgOfvb /ukNADe3rl+NyekvvhYfEaDzhtwxNPNMA69/E/bZ8n1t/fnZFrIlCDw0IODRwPaTyghW wbZdYibUw/NzO53OJfwcG5qLDmMTxEMscyYWoM6sB6CHM4GzeVSN/uyXj34+FlKkbsv+ MafNhpPM4YBhF7YiUaCWeGTN4vQqUSb3KFWD0xIS1H/kiDhdH7bNKkM8QN0pEUp4BUdo I4CINlqKH1UqHMqXJTeaK9wG7bPGOZva8VYHfvUIG+YhRWP6J5F4Ez+xcyzgvQJyOLIt JRLg== X-Gm-Message-State: AO0yUKXsnalpMiWemjarw02rRTZKhvI2sKXOposG2ub2lMiIjP1f8y0W PQzt/95stZogCKQpJbt96dvf9lYrEwFoyZBK4ik= X-Received: by 2002:a17:902:d4c4:b0:19d:6f7:70d2 with SMTP id o4-20020a170902d4c400b0019d06f770d2mr2969392plg.50.1677475562632; Sun, 26 Feb 2023 21:26:02 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id a14-20020a170902ecce00b0019a837be977sm3513341plh.271.2023.02.26.21.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 21:26:02 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, jcmvbkbc@gmail.com, kbastian@mail.uni-paderborn.de, ysato@users.sourceforge.jp, gaosong@loongson.cn, jiaxun.yang@flygoat.com, tsimpson@quicinc.com, ale@rev.ng, mrolnik@gmail.com, edgar.iglesias@gmail.com Subject: [PATCH v2 19/76] target/avr: Drop R from trans_COM Date: Sun, 26 Feb 2023 19:24:08 -1000 Message-Id: <20230227052505.352889-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230227052505.352889-1-richard.henderson@linaro.org> References: <20230227052505.352889-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1035.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. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- 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; }