From patchwork Tue May 16 19:41:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 682397 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp19621wrt; Tue, 16 May 2023 12:54:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7OUZgLqvvQq21UuxXaiOdDEDo+eUFwrRZfKnbH3u2HdiHtjLyUFdMV7NgK394hfOnB41xO X-Received: by 2002:a05:6214:528b:b0:5ef:50a3:f9ca with SMTP id kj11-20020a056214528b00b005ef50a3f9camr53621570qvb.47.1684266854537; Tue, 16 May 2023 12:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684266854; cv=none; d=google.com; s=arc-20160816; b=odcwWs3V+sZFXOW4qY6a7VqwR6jRNGP8XQ+S9tBrAPcdDokajdBXqLnXG5qUyGDzgc hWDAXjo+dFq9QWwwHmEfOjonlkR29ZVHSHavq+EDMyiG0imSi2XoHe8n12Qja5cqlzis E2ugaknKeixDr412vSUR0sdZ45ndLpH3qT22dhQq/p9ZcQqGR7whl/KYuk6Wwt5pGtCK 3y4pVBAmYrtGhtM1ENkuC8ft1kqBwILj7d1EH/hPFFuXp2pyRvi7pzbDvMiU6Zt48YDR ZjGnbfAJkq1Q+ALmG6IqHqLInyDgnS1pFRbbXvboxx+/EvA1voP0N9xnSTKbM5ZToWEP XX6A== 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=LtDld2gFk+pS05MnfqGIihYYTTfEqLTj2+RJM8YOMsA=; b=OVKtiV8YZ9n2HxYhkBZcYUClyo+/ioQJojSZMcTSrRGGQL/rFH5MFQi9ZmTldABzeA a+N3b/04w2EMetQetKjae2W2cX2Yt187dPd7BBhZSSSjgwpxKmKH2qXXaEqP7HCxWJL9 Ynmn5sOxN6iKlXPTwgSzNqNr+pCa2BXKaVvTJ3zZ+Qq24+n7eci80G3A08Ib5aDXDKtC t+JgS5/yxXKHEPUhyRNqp7ts/EpW6GDy18yr6dY4Z5MOeSqHvx8uK2TgI5SwMpgL9BEj bwNZZERBrOUfBz+UkXoYijlRNXHVh+i7aWtiDC0yVsxbX1tXWUaPv6nulxgc3AqZAMe+ OBJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FTaIJf7b; 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 e17-20020a05620a12d100b007467fa3ff23si230531qkl.352.2023.05.16.12.54.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 May 2023 12:54:14 -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=pass header.i=@linaro.org header.s=google header.b=FTaIJf7b; 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 1pz0eR-0002qH-Kg; Tue, 16 May 2023 15:48:03 -0400 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 1pz0cE-0000HZ-IG for qemu-devel@nongnu.org; Tue, 16 May 2023 15:45:49 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pz0cA-0003kY-Dd for qemu-devel@nongnu.org; Tue, 16 May 2023 15:45:45 -0400 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1aaff9c93a5so433675ad.2 for ; Tue, 16 May 2023 12:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684266339; x=1686858339; 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=LtDld2gFk+pS05MnfqGIihYYTTfEqLTj2+RJM8YOMsA=; b=FTaIJf7bNpCRrBz0i6HQSxKfZPSKGA1lFQd60j0qTIIQPvklnkoWwHmWWZRuGet2XV Cwv1iuckqLtKhg4vJ/IO4eaw+g1KcAKcCDqS0mLji94rlNbhxP+EtSe/Y9qFpJO4jzSX 3ACQdMn/HFwUSq+VIopmKpIdsIvRL2W6+dYrIUlCdgWAWOe1zHmm8GYCRLMHjjIxIKo5 IO2XbeI5k/pcizPtxsGaykdPis5pMNfUDIXCGeBOis6gRs4MLHRpZEUUlTR+atK4vttp 3urFgdSRZBKTVOJ+7/2jkN+KA/HD/dPcALF+g4GFO98UFUQ27NLmKp9nb+70Q+OCXyXH sqyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684266339; x=1686858339; 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=LtDld2gFk+pS05MnfqGIihYYTTfEqLTj2+RJM8YOMsA=; b=kM0kGNkXzOu7zD89RTS/zxC92BMEr4eY/K+MntH1bYSxbBlsTFqI2Ug7S7/Fp6hzSx W5tMI9eDWlgPZF1PkluG+ZAY6lxLXQfLwQv/+agx0TSDmswe3jTG0kKiVPwE1nDxG21D TRAy1JwqykjwDq4QvYWvIn2ZQKLrhpelUZeHRZV4QWhhqpOmXS3gg20+luOccEthvlaA FRB4QCd14zegWIcxCgVJJ7lS+ixdGDJUmF0yA8DkbGj4WUw+GIgrt1VCM1IzLce09lyL QkNuVyUyxkFLfJBKoS84RYx8e2aRYQTyPaSeb707+tuyoIsz8BKSkS/o+U3y+BhiFB4/ TSeg== X-Gm-Message-State: AC+VfDzK756xgyeJMFjI96JPZRPI0kEMYE6D5vF279ps8UJXCVUA7Xm8 aOU0BbuWCvS7LsO/oduubNthnZT0kJmmFM+OjnE= X-Received: by 2002:a17:902:6ac3:b0:1ac:93ba:a5ec with SMTP id i3-20020a1709026ac300b001ac93baa5ecmr24773619plt.52.1684266338805; Tue, 16 May 2023 12:45:38 -0700 (PDT) Received: from stoup.. ([2602:ae:1598:4c01:ec81:440e:33a4:40b9]) by smtp.gmail.com with ESMTPSA id y12-20020a17090abd0c00b002508d73f4e8sm25555pjr.57.2023.05.16.12.45.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 12:45:38 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PULL 58/80] tcg: Widen tcg_gen_code pc_start argument to uint64_t Date: Tue, 16 May 2023 12:41:23 -0700 Message-Id: <20230516194145.1749305-59-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230516194145.1749305-1-richard.henderson@linaro.org> References: <20230516194145.1749305-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x634.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, T_SCC_BODY_TEXT_LINE=-0.01 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 Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- include/tcg/tcg.h | 2 +- tcg/tcg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index f40de4177d..42a3c05607 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -852,7 +852,7 @@ void tcg_register_thread(void); void tcg_prologue_init(TCGContext *s); void tcg_func_start(TCGContext *s); -int tcg_gen_code(TCGContext *s, TranslationBlock *tb, target_ulong pc_start); +int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start); void tb_target_set_jmp_target(const TranslationBlock *, int, uintptr_t, uintptr_t); diff --git a/tcg/tcg.c b/tcg/tcg.c index cdd194639e..800dcba159 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -5947,7 +5947,7 @@ int64_t tcg_cpu_exec_time(void) #endif -int tcg_gen_code(TCGContext *s, TranslationBlock *tb, target_ulong pc_start) +int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start) { #ifdef CONFIG_PROFILER TCGProfile *prof = &s->prof;