Message ID | 20230227053701.368744-30-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp2185117wrb; Sun, 26 Feb 2023 21:52:42 -0800 (PST) X-Google-Smtp-Source: AK7set/VBKewnSJT0dKmxoJPqY8ugCh85lkECxbq0ZBCJIYHhM1OZu8Wvo0ijq6U+3B9hDtbB0zP X-Received: by 2002:a05:622a:1303:b0:3b8:6d3a:5ec7 with SMTP id v3-20020a05622a130300b003b86d3a5ec7mr41020591qtk.22.1677477162206; Sun, 26 Feb 2023 21:52:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677477162; cv=none; d=google.com; s=arc-20160816; b=ppm8geGVedv4WJtNoCXtM28y02N8jJcnTfGf574MFT19kxNW3ly8fkcoJW1D9dBK3q B2XJudjt2UpRROYDSRBlyimGPhYmucZx716PH0ken6IY23jsd9Kec2bIYooVpoIioRUc 0+/CXFFYBGMeIyK/3EkKpGqlzxzPyJZL+J8d+nr8w+kbtaiVcKQadn0Xfm16lmDfM8rF kmvJAZ0pYhn4Qj9R/5FZv3H1MTdnXUTVeIO0q9CiOBDKPmeBtOKxtHSKQu1TYDamUWFS FTmoksg7LNQ2urYm3eUj51YibdFzrZjmgoeEaQWIqmNUi2LALNT4UD2QdYzLwPYOGqQT W0FA== 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=sFtLskBtXQJv7dvYWKC68zyT6F+160XUCfsOjHVKspM=; b=jjLnD3y7kghJvQ34eFyw5q559BAfPUvspqGr5bzfB7Ut5+mhsOKeEURCV2jDmDESuQ TSuTlbP3i+aqqI0+xDlEx7T4n4DihVkxHEtRkw6Loc7pjPzj2+HJKjHJSZdAK6FAC8Eo zN1u/Pb87RUlsGKfQHp12RWH6PLeSJbi8zlVLFbqwsWP2blydm4p1ilhnqMca+U5qec6 u53kkGaiz4XIB3JKO7sWADdhU0kJk2Dm5r66NTxGjSQzw83nvoFQc4yQupc+2SpC53fp o/ABI2iEymZSR3oVLJpHcwLjmFDYg4K9GSE4dLDkETJEFX3pYyUhvd+bVzRnJ9o5oXaF lIpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uxkyGAqa; 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: <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 w22-20020a05620a445600b0073b4c66f1cfsi6017253qkp.668.2023.02.26.21.52.42 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 26 Feb 2023 21:52:42 -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=uxkyGAqa; 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 <qemu-devel-bounces@nongnu.org>) id 1pWWFV-0004di-B8; Mon, 27 Feb 2023 00:40:33 -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 <richard.henderson@linaro.org>) id 1pWWDV-00042u-MV for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:38:30 -0500 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1pWWDS-00038h-2D for qemu-devel@nongnu.org; Mon, 27 Feb 2023 00:38:29 -0500 Received: by mail-pg1-x52c.google.com with SMTP id s18so2856826pgq.1 for <qemu-devel@nongnu.org>; Sun, 26 Feb 2023 21:38:25 -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=sFtLskBtXQJv7dvYWKC68zyT6F+160XUCfsOjHVKspM=; b=uxkyGAqaf12UHiHxe3ytgXuVwauNSoeV73dDe/22eNUs07Acfbr404tGEIUEUQjGUn t/qGcJKeCZhu5S45SKD/pZ6M4GNAS/tnxaqq963ch68wJSv3t6R0dukh72teYLYxjg+Q FqFchbIX0LpcYy0S7SNiPt71AULxsN3mLdtSx/DqAygVsZoIQR5JJlXRJOM12aBe35hv Au0uiwaxc4RQnp8e+d1EoUfJzFuO6eUQUNKni7LyeM2psYWZG6by/r3PkPw4DBsQ7pgv Sr9hYIiBriB8iW218B5IUlHVfrxKJ3sjQwvlcebm/+9RKBh5CbxoQGhANOJ9FAhkWlFN JnSg== 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=sFtLskBtXQJv7dvYWKC68zyT6F+160XUCfsOjHVKspM=; b=EB/yGYTi5RvULJen6XBiTGQx6I0PDEMIHZQkuUqy0+lfsuTDUTyLmx6qZchld50itL rgvJIGINhONlYkek3qtZmNeXoQxTj1QxpHJalRLmR5HSLWWSz6rBHUmXThwNUj6x7vQ8 mauri65UKsNHgVz09NCBsfqcLb9WiPdqCTNGKfOmug4gqn//73b1/keXxCNqSK5pt4F6 48u/qvnDSNvcigV5pHZi4CMeQTe66qIgV2v+fHN4LWHalwaCBiu5Alw9x8O0JFLsbURF ziuwr2iuMkvQafo7F74p+Gliwpm3aISMoJPYvK+BB4HRQY+Yof0s23WmxF8yjv+OPTPX Z6dg== X-Gm-Message-State: AO0yUKVuZDUS/cjD/LQZ2FOHNcVGN9uaxcmMBApT4I2kGheNMsExG/T/ kJ9tUOslW12ogxzC87PehhogMPiGR5mmiSBwxTA= X-Received: by 2002:aa7:9e1b:0:b0:5a8:8535:18b with SMTP id y27-20020aa79e1b000000b005a88535018bmr20937619pfq.11.1677476304392; Sun, 26 Feb 2023 21:38:24 -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 k12-20020aa792cc000000b005a7c892b435sm3342137pfa.25.2023.02.26.21.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Feb 2023 21:38:23 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> 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, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH v4 29/31] exec/gen-icount: Don't use tcg_temp_local_new_i32 Date: Sun, 26 Feb 2023 19:36:59 -1000 Message-Id: <20230227053701.368744-30-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230227053701.368744-1-richard.henderson@linaro.org> References: <20230227053701.368744-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52c.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
tcg: Simplify temporary usage
|
expand
|
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 4d8b1f9ae5..733a2fb228 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -17,13 +17,7 @@ static inline void gen_io_start(void) static inline void gen_tb_start(const TranslationBlock *tb) { - TCGv_i32 count; - - if (tb_cflags(tb) & CF_USE_ICOUNT) { - count = tcg_temp_local_new_i32(); - } else { - count = tcg_temp_new_i32(); - } + TCGv_i32 count = tcg_temp_new_i32(); tcg_gen_ld_i32(count, cpu_env, offsetof(ArchCPU, neg.icount_decr.u32) -