From nobody Sun May 19 03:38:17 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=1621174449; cv=none; d=zohomail.com; s=zohoarc; b=Ir07pkMreKiIsYJ5vZ2UxDIwVsuj8u17w2keVvJ+lT457S8tGlbkd2vaTryPGZOT9GMYEfhuwtRc12iALYE8/dYQltNblwon3y5QqNdZ5f8+nBjNb1vHUn8sJeWnfBHuirxd4SyeAihfbaKWq92bvRiD/niJ1dePF1XkOvFmyEk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621174449; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NhwI2DinhpUfdxRi9/Rhzl1MA34OxTKcA00kzZyzkIs=; b=cwXY3CfzQd/PO9h2QgUun5nebACOrib7tFruLraeK04J7xhRGnuOCnrRDP0jYmVuFd5CkETF/oGsuNFUZvBm3y4wYiW/7PEh/gDCniNz//9zMcBVePlFPtgchCyIxtwzM5ZsWdgA9p74AughQfSO5PMbgK5P3tsmmh74fpGecXs= 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) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1621174449429835.2999084581126; Sun, 16 May 2021 07:14:09 -0700 (PDT) Received: from localhost ([::1]:54428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liHWx-0007p0-V0 for importer@patchew.org; Sun, 16 May 2021 10:14:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liHUj-00060O-St for qemu-devel@nongnu.org; Sun, 16 May 2021 10:11:49 -0400 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]:42697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liHUY-0008Nf-Hr for qemu-devel@nongnu.org; Sun, 16 May 2021 10:11:49 -0400 Received: by mail-qv1-xf2f.google.com with SMTP id u33so1910531qvf.9 for ; Sun, 16 May 2021 07:11:36 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id j28sm8350102qkl.35.2021.05.16.07.11.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 May 2021 07:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NhwI2DinhpUfdxRi9/Rhzl1MA34OxTKcA00kzZyzkIs=; b=DQSLnql/0w7yqENJX1QF7AVm0h7akgj/Zs81mrT+bD45CTANlRMcGXO/dGPtkQk9VE i5Ilajv7rT9GI1fRxnc7H02HviT73XgFbJwFjJaJAIXzqpjvYEl+pAkkNjOw4tDn0CoW F/o15f4VcSkiQD2EaNdXmWfbc/Q5uG21qUxXX5h3GC6niJ6UVTfNyTJpiEDHgUMw5MHL VpaDpPdcGAQsC0o7tWhfTiSEezDZq3Kz4HVbxJaoy+n/Z7p4EOKOZkaNvtBgIGcKRw7h LVZP22Wrq1UNr1IKNbyZUuKi/UunVoanfKSwGJgrjTJdG/rN4mznbVLJ3MN1ixwmo3/D VphQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NhwI2DinhpUfdxRi9/Rhzl1MA34OxTKcA00kzZyzkIs=; b=Mv/aPl/NJYaCuBk5cMULHiVkPcEAf8qcqmehNfzYY9aR2572LA6Ov4kliq8NK/1FtF +FYuYy+Bh7cYd8n+7OtttJHWre2oqH2rDqB8XwpsPwTOSeza1i7g/Necmza6T1R0unha TEaQAlnzTv4uySJfZCKTA5tqyFcKP45V1v9w+sVCxB0U1SqsSjNe9gwGFv2WV/u5jvES JZD+DL5UTg/gGr3r+nR3nFgqpVL9I54Q9yC2w2R59z0sTTHELM+jL1BNFpP/7jOJDwnC HTmnUhCRZjGs3aibW60pVtC2XlWZ8o8RuAHYGOaHg7F7viamoRnJrO8mp7AjjN5c1qqW 7rvg== X-Gm-Message-State: AOAM531xnK3HN84WTrKkHgXEdj8zgQXj8wKTfahNApqOQGEmhCp6Oov8 hisF9urta3kkk8/Qkf1lEan4TT7gRbCLMdKFBkI= X-Google-Smtp-Source: ABdhPJzr4c229aXPwxbRzHcCvF/IGo78Dn4AFEC+9i3nVgZxla7rMexhpKtlp3PWQBol2yTPN/GF+Q== X-Received: by 2002:a0c:90c9:: with SMTP id p67mr44837972qvp.7.1621174295650; Sun, 16 May 2021 07:11:35 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 1/4] MAINTAINERS: Add include/exec/gen-icount.h to 'Main Loop' section Date: Sun, 16 May 2021 09:11:30 -0500 Message-Id: <20210516141133.739701-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210516141133.739701-1-richard.henderson@linaro.org> References: <20210516141133.739701-1-richard.henderson@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=2607:f8b0:4864:20::f2f; envelope-from=richard.henderson@linaro.org; helo=mail-qv1-xf2f.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) From: Philippe Mathieu-Daud=C3=A9 As the 'Main Loop' section covers softmmu/icount.c, add "exec/gen-icount.h" there too. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210422064128.2318616-2-f4bug@amsat.org> Signed-off-by: Richard Henderson --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index f73354fc8a..6f73315dcc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2429,6 +2429,7 @@ F: ui/cocoa.m Main loop M: Paolo Bonzini S: Maintained +F: include/exec/gen-icount.h F: include/qemu/main-loop.h F: include/sysemu/runstate.h F: include/sysemu/runstate-action.h --=20 2.25.1 From nobody Sun May 19 03:38:17 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=1621174708; cv=none; d=zohomail.com; s=zohoarc; b=Lskv5haxr2OzgXM894YQj6ImKVRwm+sQ6ICSCSk+iO8n7HcYEv7acyM+cv+yFLDmXrS6k8aBtLmjWjuoxG5bx7ZAyHrkyX4yt2hILpBQnHMuvGZaov9v+MDrPsLAnx+mU0b4XyK1r9UxRh4qEqskXObA/PfwhhqKTY4MuBxMdbw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621174708; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=KdbIg3rlUjFYkOGX6SZXklYcLzrscr/66Cx3ugBj720=; b=Pt2O113bWYXlXOcDZICt2HQDfLfIa9M+1x5OHjLnE0unx8BLL6XH+zOZE6p5I++ZBin0wYNyq8UjjlvvCrmWSoWS7WX0XE+j4zbhBRB5/8peK5GaUByMHtTSB7JMbqw0pLYetcDs8H6emHSrc8uqpTxhI6ael/D7A7N65J7WfG8= 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) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1621174708851501.0277692308182; Sun, 16 May 2021 07:18:28 -0700 (PDT) Received: from localhost ([::1]:58922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liHb7-00039u-IT for importer@patchew.org; Sun, 16 May 2021 10:18:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liHUj-00060J-T3 for qemu-devel@nongnu.org; Sun, 16 May 2021 10:11:50 -0400 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]:44575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liHUY-0008O4-Hf for qemu-devel@nongnu.org; Sun, 16 May 2021 10:11:49 -0400 Received: by mail-qv1-xf31.google.com with SMTP id u1so1906729qvg.11 for ; Sun, 16 May 2021 07:11:36 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id j28sm8350102qkl.35.2021.05.16.07.11.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 May 2021 07:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KdbIg3rlUjFYkOGX6SZXklYcLzrscr/66Cx3ugBj720=; b=WRyrctpeo+wrQDRQaoTFP2RKYOiXZnlV+ak0MH7HcWmvQsUVjVj/mjVfUgbU4Av3MW UYC/j8hDp04NPM3mcNN/pyP+AbRtZta5tn5jZS4oXw5eXIc9+8WDQWxVyJxOHO5+p+uP zsJvH8T9YJeYwsmoI+CRGabwRVYJRU8zGC2JyY11YLadSgqxPdpiGeneWjVcGvcsYq7J qIcmzgnhDIQfJK382apsB9t2CLPgmfP+TJnrf5nkg+XkO7s8MKoxHW642WaoCwWIsrJn HYTKMoGy9GIQAvQm7xUABO/MWjMAdj+ja2ESVbeJd4Wz9So8POpBXIZFLdO1nlzFGgDw u7uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KdbIg3rlUjFYkOGX6SZXklYcLzrscr/66Cx3ugBj720=; b=BVKVsVZ7dmAWTfaBCfVMidVsAzkBlQggYpSW+biNu3wc3kh9U7KXjnRLZRQnFlof/o L2s/JjHH7spoGcAPligR9jjsGFmhE4/yDlWondcbdanxeRk4KOTHziEsYudR52ux87va wYnwS5BODWgti1qMgvQbFn0R0QQXe+RVAna1OO6WP5o5pWdrQFgx2WGrkCWnYxF7xxFx uemvMJz1QOXl1TVmyrzvRCoZRJmroMDuoyN5e8pVj73WkbOn9shaOdSsZXDi4UXs/Hf7 X+WQqYWjpN1+Ah4EtJnMfcPXeHrDXA07QqKmvcCIL2CLd8fYyZ+pbcpsJaO4dwxR8OKn 0bgg== X-Gm-Message-State: AOAM532GJDJxECVtOrOTGRlfoEEtj9PSeXN874qxNMEqiviDh8L/eox0 OFpD5f3VevXlsd0JQvjOSUA4oWLVKgtqb3C2FRM= X-Google-Smtp-Source: ABdhPJwx1eaqCnIPEDz+tJnv1tJHAegXJdud42siQ1kTmiaOwy26fOFU2wilThpu9lYRxmmp4rEt+g== X-Received: by 2002:a05:6214:d01:: with SMTP id 1mr55600298qvh.57.1621174296375; Sun, 16 May 2021 07:11:36 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 2/4] exec/gen-icount.h: Add missing "exec/exec-all.h" include Date: Sun, 16 May 2021 09:11:31 -0500 Message-Id: <20210516141133.739701-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210516141133.739701-1-richard.henderson@linaro.org> References: <20210516141133.739701-1-richard.henderson@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=2607:f8b0:4864:20::f31; envelope-from=richard.henderson@linaro.org; helo=mail-qv1-xf31.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) From: Philippe Mathieu-Daud=C3=A9 When including "exec/gen-icount.h" we get: include/exec/gen-icount.h: In function =E2=80=98gen_tb_start=E2=80=99: include/exec/gen-icount.h:40:9: error: implicit declaration of function = =E2=80=98tb_cflags=E2=80=99 [-Werror=3Dimplicit-function-declaration] 40 | if (tb_cflags(tb) & CF_USE_ICOUNT) { | ^~~~~~~~~ include/exec/gen-icount.h:40:9: error: nested extern declaration of =E2= =80=98tb_cflags=E2=80=99 [-Werror=3Dnested-externs] include/exec/gen-icount.h:40:25: error: =E2=80=98CF_USE_ICOUNT=E2=80=99 u= ndeclared (first use in this function); did you mean =E2=80=98CPU_COUNT=E2= =80=99? 40 | if (tb_cflags(tb) & CF_USE_ICOUNT) { | ^~~~~~~~~~~~~ | CPU_COUNT Since tb_cflags() is declared in "exec/exec-all.h", include this header in "exec/gen-icount.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210422064128.2318616-3-f4bug@amsat.org> Signed-off-by: Richard Henderson --- include/exec/gen-icount.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 298e01eef4..467529d84c 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -1,6 +1,7 @@ #ifndef GEN_ICOUNT_H #define GEN_ICOUNT_H =20 +#include "exec/exec-all.h" #include "qemu/timer.h" =20 /* Helpers for instruction counting code generation. */ --=20 2.25.1 From nobody Sun May 19 03:38:17 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=1621174953; cv=none; d=zohomail.com; s=zohoarc; b=QccYK1OynSU/QryNJoAFqWlJIKN3M3BOkI/tqrK2SAv4i1vONVkrw6+Z7RcSrb45JrnC0isdjSqVdw1yVV6OfIaRayc4kOn3O2h4RODB18JblH0b2EHZZa31epgHyB/8B8d8ih3zZ9WgOH/fXxHBj029NUFxTTo1x/J40/w52WA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621174953; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=kFL9t5OD5k5npkYQzODZhaVeI1U1ot/HuEftF5u8qrE=; b=hYNWlXPa5mgpIGiHcOVKh5f+3+P1NH/PONvflIoIvThV6D+vkf7ZLlK3zmk7bc3nXeJoaIxsoC1GQOCoL5r0kMQid9o2Ox0bwdQCX7QVRHfJnreZWHT3plOCGRuBJxn2n9DLLWGYkzZAggziqkTWBZVRnU6RZlQGk6ljsnkqpzw= 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) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1621174953455709.4622095228646; Sun, 16 May 2021 07:22:33 -0700 (PDT) Received: from localhost ([::1]:37182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liHf6-0007iQ-Au for importer@patchew.org; Sun, 16 May 2021 10:22:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liHUn-00062M-Me for qemu-devel@nongnu.org; Sun, 16 May 2021 10:11:53 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:35785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liHUY-0008OQ-Gn for qemu-devel@nongnu.org; Sun, 16 May 2021 10:11:52 -0400 Received: by mail-qt1-x82a.google.com with SMTP id k19so3132540qta.2 for ; Sun, 16 May 2021 07:11:37 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id j28sm8350102qkl.35.2021.05.16.07.11.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 May 2021 07:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kFL9t5OD5k5npkYQzODZhaVeI1U1ot/HuEftF5u8qrE=; b=pERvsXpYrqy1KTcDdSioqCE5MxLpyNYghfUyg+g0gfcj348cL1D6YhCHUtPs1jjiIi LpOY667M2+Y1dY/7/6YwXp28j9zaVQdgqGvZfLRaLt2VC7TqyE8mixq2+9hznB4wAKiS ZeQX9wgrAj42c4NpSOUFKVaLRrBma89odom0cpf1YpPy5FtjMzjTaINZNtGMqERHchuu I9+QGSC+4xTVY0iLYrRL9fpjCrNADry4cLEVCMEQsNGKiWdNieZwXRJ4bpWJA8zKmrqv NsNvPsENgT2SYJQrqsa9r8Dj6wAfbG5Mqhe7fgW9oL5tZgccVoqknHDgGrFFz+frlZEU vtPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kFL9t5OD5k5npkYQzODZhaVeI1U1ot/HuEftF5u8qrE=; b=ZJ/VqkcEhbLr3xA/0u/K333tatw43MUpSAeuJnoXhZKQBljYGgmL33YGSDHCk0EjAV +nHdEetRZVAsgJlx1nqr4WYA127COBmvZV8GKIs1OoB5ujFe/QSXBqkTJIA2TRU21Fge k/Yyd5MHugPT2dGIlhM+4rM+Cz2455v+A0LsBGF2iU7DPdC+8ziQ9+P5i63oDaeogdGg VkwegID0JxrjAmWGMLxFjiSRtUX+5UD16Wcb0Nfmb3Ewa1wVZ81brxXTH/e8xcOrsPRv jdLb7vbkZ/7ga8DF4cRRF3RomqvKv1juwAavhwNGRsXmFyXrNgWSjo0c+v1g8IZQNK7j aqFA== X-Gm-Message-State: AOAM530wEKuVw78dqSoW3mQvuA2H0J0PolOBSdNSmoK+IhVf4rH9q8CP xCoQ1SPMm3+NKJN4BNqIOgj/CMUvYX9FuuL1dGc= X-Google-Smtp-Source: ABdhPJzkTdnppOjQAPcJ3HSo0Ir+qpx1OZI8jzSLYg/Z7huH2nKYYl2o6gosAB817VI5kFj58XXZFw== X-Received: by 2002:a05:622a:202:: with SMTP id b2mr20834919qtx.343.1621174297105; Sun, 16 May 2021 07:11:37 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 3/4] tcg: Add tcg_constant_tl Date: Sun, 16 May 2021 09:11:32 -0500 Message-Id: <20210516141133.739701-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210516141133.739701-1-richard.henderson@linaro.org> References: <20210516141133.739701-1-richard.henderson@linaro.org> MIME-Version: 1.0 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=2607:f8b0:4864:20::82a; envelope-from=richard.henderson@linaro.org; helo=mail-qt1-x82a.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Matheus Ferst Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Type: text/plain; charset="utf-8" From: Matheus Ferst Used in ppc D/DS/X-form load/store implementation. Signed-off-by: Matheus Ferst Message-Id: <20210512185441.3619828-24-matheus.ferst@eldorado.org.br> Signed-off-by: Richard Henderson --- include/tcg/tcg-op.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-op.h index 2cd1faf9c4..ef8a008ea7 100644 --- a/include/tcg/tcg-op.h +++ b/include/tcg/tcg-op.h @@ -1096,6 +1096,7 @@ void tcg_gen_stl_vec(TCGv_vec r, TCGv_ptr base, TCGAr= g offset, TCGType t); #define tcg_gen_sextract_tl tcg_gen_sextract_i64 #define tcg_gen_extract2_tl tcg_gen_extract2_i64 #define tcg_const_tl tcg_const_i64 +#define tcg_constant_tl tcg_constant_i64 #define tcg_const_local_tl tcg_const_local_i64 #define tcg_gen_movcond_tl tcg_gen_movcond_i64 #define tcg_gen_add2_tl tcg_gen_add2_i64 @@ -1209,6 +1210,7 @@ void tcg_gen_stl_vec(TCGv_vec r, TCGv_ptr base, TCGAr= g offset, TCGType t); #define tcg_gen_sextract_tl tcg_gen_sextract_i32 #define tcg_gen_extract2_tl tcg_gen_extract2_i32 #define tcg_const_tl tcg_const_i32 +#define tcg_constant_tl tcg_constant_i32 #define tcg_const_local_tl tcg_const_local_i32 #define tcg_gen_movcond_tl tcg_gen_movcond_i32 #define tcg_gen_add2_tl tcg_gen_add2_i32 --=20 2.25.1 From nobody Sun May 19 03:38:17 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=1621175048; cv=none; d=zohomail.com; s=zohoarc; b=m5L6Ht39LvrAohjfBUtSZrf/2zU5PuMnx2+dwqvv2YF4BkDC2hSHEel/hEP3VWDTcfiaOYwlq5ZWESebrQm4+EbHZwnvp23Rm2x0825+wGV2/QJ/Q0rrextHgVcAdoUenn0L1aYE9xPFEH49zUrcIx+i8jVxmsVLiExtTSRb+Mo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621175048; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=7LnBFW5fSh3VKASb4De0S9Ena1rdwhnkiY8x0DnPIig=; b=W7N2zOMYiHZIbrRQNXVv+sISFmrn2EOx5sKJVg+v2wleLN5xjDwdg+UJV1afL4sN8VwGETwkLqf2dn37E9PXsv+rGckHjXj19yx8+6WewhjVu/54rMNR04u4b6aI6Erfv8QgRmhmJbypuUVD5RD81MSuB87nDF1Bf9cpqqCpAzE= 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) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1621175048643589.0635820697919; Sun, 16 May 2021 07:24:08 -0700 (PDT) Received: from localhost ([::1]:39528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liHgd-0000vY-FR for importer@patchew.org; Sun, 16 May 2021 10:24:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liHUo-00065A-Tg for qemu-devel@nongnu.org; Sun, 16 May 2021 10:11:54 -0400 Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]:42699) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liHUY-0008P6-Je for qemu-devel@nongnu.org; Sun, 16 May 2021 10:11:54 -0400 Received: by mail-qv1-xf31.google.com with SMTP id u33so1910550qvf.9 for ; Sun, 16 May 2021 07:11:38 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id j28sm8350102qkl.35.2021.05.16.07.11.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 May 2021 07:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7LnBFW5fSh3VKASb4De0S9Ena1rdwhnkiY8x0DnPIig=; b=BYm6Sg4yNMxHtSNOZwsdfE+RUeUvgGu2Pa+wSHhRQggBuhiTmR6I96/xmhpwEKM1x5 aKYSmrEOfobnvPjiSFtrLMYhQVmxyvf8l8wtJko5zVVuqt/IKDUKsObc9edRuFHGQ8sz yEhqs+lLqoPXFf2xucD8qsBmDbShjGOv/8Dcho8ly0sM3xuDgZnhylrU+d1hr4cLV+FR lUMlaYXJMDPp5BJPUG3YrBGNPFht0r/pPb4Z2ig8SxutZdf0uM7NPmQBNHHmrUyZ2x1d WV3Ui6rorhlu8bjVERWzmEKAuM4EaTgaLTaLfPvfRX7gJTYYFt/RE/6arewnwDUpyacJ BPBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7LnBFW5fSh3VKASb4De0S9Ena1rdwhnkiY8x0DnPIig=; b=ANQvrvjl/CkiTsOfYeyyWt6Z0OuDx4A7zin1c9ky7DR/lbhEIT23jnu32HcmgiZz7i FRuqy3yOtdv7Pj03UYwTxgVTLdUTvWx3bGQutgDBxqPy9J1PlidvbboxB6s3seszsrcl rtkwTDQCjTZ1VgydwBbybXr4nmdQWohIbl5qYMqSxj5yqFJuFwFqT+pLs2uxtHXZRYkH AaJdYsXYzlnWWBfGCJ47z3RfS99oMz2yfVWVi2Z3T+kzjR0gqX+YVduy//QTJEOn9hvc MvjQMQXNW1ccL9BDw6cs8H8Ocd+zhvvgP+Mx5uMuiFWuoU2q/RHrWGqIAx9pR5ZAWFTK yRgg== X-Gm-Message-State: AOAM532ekGEITwFunXJVN1efsJpt5zYaePx6y44PWwPyTOAp++51zMD0 bngNLasemJwI3uEvyv3tWvzSYBHKTZupB5flx0g= X-Google-Smtp-Source: ABdhPJw5ZCeeGPHm2Tg3ZbNAgKT/Cd2PnXAln+gbjO26hoa6tsG0t/FQuuE7mr/SY3RwJg7qsOcKkA== X-Received: by 2002:a05:6214:10e9:: with SMTP id q9mr4340567qvt.45.1621174297864; Sun, 16 May 2021 07:11:37 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 4/4] accel/tcg: Align data dumped at end of TB Date: Sun, 16 May 2021 09:11:33 -0500 Message-Id: <20210516141133.739701-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210516141133.739701-1-richard.henderson@linaro.org> References: <20210516141133.739701-1-richard.henderson@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=2607:f8b0:4864:20::f31; envelope-from=richard.henderson@linaro.org; helo=mail-qv1-xf31.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) From: Philippe Mathieu-Daud=C3=A9 To better visualize the data dumped at the end of a TB, left-align it (padding it with 0). Print ".long" instead of ".quad" on 32-bit hosts. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210515104202.241504-1-f4bug@amsat.org> [rth: Split the qemu_log and print .long for 32-bit hosts.] Signed-off-by: Richard Henderson --- accel/tcg/translate-all.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index ae7e873713..fbf8fc630b 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -2042,8 +2042,15 @@ TranslationBlock *tb_gen_code(CPUState *cpu, int i; qemu_log(" data: [size=3D%d]\n", data_size); for (i =3D 0; i < data_size / sizeof(tcg_target_ulong); i++) { - qemu_log("0x%08" PRIxPTR ": .quad 0x%" TCG_PRIlx "\n", - (uintptr_t)&rx_data_gen_ptr[i], rx_data_gen_ptr[i= ]); + if (sizeof(tcg_target_ulong) =3D=3D 8) { + qemu_log("0x%08" PRIxPTR ": .quad 0x%016" TCG_PRIlx = "\n", + (uintptr_t)&rx_data_gen_ptr[i], rx_data_gen_p= tr[i]); + } else if (sizeof(tcg_target_ulong) =3D=3D 4) { + qemu_log("0x%08" PRIxPTR ": .long 0x%08" TCG_PRIlx "= \n", + (uintptr_t)&rx_data_gen_ptr[i], rx_data_gen_p= tr[i]); + } else { + qemu_build_not_reached(); + } } } qemu_log("\n"); --=20 2.25.1