From nobody Tue Nov 26 18:38:48 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1706083047; cv=none; d=zohomail.com; s=zohoarc; b=ahslHinxm06d1dt/tDooI40rAPXe4bI3Uidko8nMkVQqYxP5InSA6CKGHc1e8UxtrU50sqF6cSzYvPDpUMXa4B1dEPxmeZhsukmh/vF101Bc9rY82VdOPoibFq7JlMbPfVSB3G59iHUfTMfJt9TtxqBqao+mUQB8EIZjCFPAOME= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706083047; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=9UAFRNBO2Tg6jJU15Vu5X8vfpHirwIVtsoqw3WJyHnU=; b=WTpP5SnU4Hsa/7hn8RtdLLYnwwPOCM8uQlp2Ry+InCJtXY0YR92vIz+J7XM+GyjtFPQ18GMM6Kz9yNK9pqbwLwB8oA8nfB1cDPDvyQ8Dp05Jz6Edq8iX41WIifq8/LRORG5QpqraS0Wm/TBtlGzU1QLi11aAmmTxHAgkYZ66MBs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1706083047710851.5229041269203; Tue, 23 Jan 2024 23:57:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSY7g-0001WY-Ay; Wed, 24 Jan 2024 02:56:36 -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 1rSY7d-0001Vw-Mb for qemu-devel@nongnu.org; Wed, 24 Jan 2024 02:56:34 -0500 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSY7c-0005TA-4h for qemu-devel@nongnu.org; Wed, 24 Jan 2024 02:56:33 -0500 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2cf205dc075so3504761fa.2 for ; Tue, 23 Jan 2024 23:56:30 -0800 (PST) Received: from m1x-phil.lan (lgp44-h02-176-184-8-67.dsl.sta.abo.bbox.fr. [176.184.8.67]) by smtp.gmail.com with ESMTPSA id er25-20020a056402449900b0055a829811ddsm5279952edb.48.2024.01.23.23.56.27 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 23 Jan 2024 23:56:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706082989; x=1706687789; darn=nongnu.org; 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=9UAFRNBO2Tg6jJU15Vu5X8vfpHirwIVtsoqw3WJyHnU=; b=TzhirdQcnd3OuB9y7bAlT+MuaM5EWgRbcLRBUxDPE9W2+XSsL8IkkHSDJ9Mgk6lZHd 23lnLBbTBUwHjOaGbfhMjOu4cziJjCEVjquH5tK371NzqzV2ozRUIZdtUSc5KA8dwFir JwpnELd5SWP+PrrX3lhbHi25BjWNWJ033FIyjjR+QJBG/k5yCtMBdA3BvRhaS6/qodB4 Bpa1KHFE5x1L3qVJKH78HDSiif7NQfRpoaeiE3DZnt+5NQ7VFOk1mbYxAk3KTd02Rgxh ffeQZwhvuh5Gc1iUGtQQAqjjlxHncuFHSQgWt8/qMRsFDyWHXxuMg9kHt5ri8Ei3wT3p Zd3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706082989; x=1706687789; 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=9UAFRNBO2Tg6jJU15Vu5X8vfpHirwIVtsoqw3WJyHnU=; b=kF33Oa4BrPDtMcXvj14KZ/QlW3cG7xYGYiKE8+GSA3exhyMWw9o9IHpA8Zf0viAi1x /Mv9cy2U7rxhabOXKhhg18tIFawgbHC5Hb8XRqKlOqFDtxxq35YaYCpXE8zoAg/0XJ0z m5p7YnzUznqGGXWk54pzRJM4iMm324gpYLfXJBQg1wkMv0Bvv2ql+B6Mgwub0Fe9aTBp vj6+WCxTavznErTezHH10XXStxZBEUqKnFW9fS9A4Sd9jd2jl0fGMHCFK4WWy84UOLBv MCOEs5SuoqAJWgblHoVGVFUgomNiEHTEudDiuiAKxux10caKoPX2D7MgUXYdYpMA2QTd Z3Vw== X-Gm-Message-State: AOJu0YyL/JaGhtkmKxsm5TwbQvA3EX/4BtYKXEknErnPh7TtpI8pgZ2v RjavH/k3wvQMgGzoSLBTKwFGa4o84cWTtdw4YeTn2X2VSx2gnV0l/JV5qFawraMeyLoTb2E076u y X-Google-Smtp-Source: AGHT+IFT2SHvkYnHPK08EOVgPygSmADRJc8DMUU/1G+eZfqI/dR2qCgCE/BsZQqrdX0h3kVYvvh/NA== X-Received: by 2002:a2e:9f10:0:b0:2cf:1b2b:6a75 with SMTP id u16-20020a2e9f10000000b002cf1b2b6a75mr551515ljk.22.1706082989046; Tue, 23 Jan 2024 23:56:29 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , Ilya Leoshkevich , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH v5 3/4] accel/tcg: Remove #ifdef TARGET_I386 from perf.c Date: Wed, 24 Jan 2024 08:56:08 +0100 Message-ID: <20240124075609.14756-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240124075609.14756-1-philmd@linaro.org> References: <20240124075609.14756-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::22d; envelope-from=philmd@linaro.org; helo=mail-lj1-x22d.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1706083048259100001 From: Ilya Leoshkevich Preparation for moving perf.c to tcg/. This affects only profiling guest code, which has code in a non-0 based segment, e.g., 16-bit code, which is not particularly important. Suggested-by: Richard Henderson Signed-off-by: Ilya Leoshkevich Reviewed-by: Alex Benn=C3=A9e Message-ID: <20231208003754.3688038-4-iii@linux.ibm.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- accel/tcg/perf.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/accel/tcg/perf.c b/accel/tcg/perf.c index ba75c1bbe4..68a46b1b52 100644 --- a/accel/tcg/perf.c +++ b/accel/tcg/perf.c @@ -337,10 +337,6 @@ void perf_report_code(uint64_t guest_pc, TranslationBl= ock *tb, q[insn].address =3D gen_insn_data[insn * start_words + 0]; if (tb_cflags(tb) & CF_PCREL) { q[insn].address |=3D (guest_pc & qemu_target_page_mask()); - } else { -#if defined(TARGET_I386) - q[insn].address -=3D tb->cs_base; -#endif } q[insn].flags =3D DEBUGINFO_SYMBOL | (jitdump ? DEBUGINFO_LINE : 0= ); } --=20 2.41.0