From patchwork Sun May 2 14:44:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 430452 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp2124623jao; Sun, 2 May 2021 08:08:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPamMhBH5CMm8VWIJQ/7I0mR7HX1P42kx33oRBxqKd8kkCKn6CPsGi/GvQHk/fhup34v6m X-Received: by 2002:a67:ee88:: with SMTP id n8mr13431880vsp.52.1619968138620; Sun, 02 May 2021 08:08:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619968138; cv=none; d=google.com; s=arc-20160816; b=CHTvBRa3QD+xcvBIXA21bjhL8SCfmtmv2CKrzp/5vTsJQ3bFkugFoBnh/X3GQmSam2 WSF0UJvf22DFkg8D7BklYVA7wJI6ad6w9qxy81GSDq2wH3R4BLE1oKx4k0mcZuPfQkL6 y8KWsNS4hf+r9jQKNpRBwt5KhE4fCVn3byI3tcK+h/ats7FU//887bK6nn2SHrf/1loZ 3IH/9MRvHk+tawtlSOBIGPaU/veV395r+P54mIUjiYBW3UhagLlmXXJGWVYlpMgvubXW bXgefDpXQaLepK/oCug01t0rLRvL6l/+Al3PYMLDfNULSQJhrBdZ069TAJwWQIUYzme6 vX1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=UdUcyujGpauXTdAtiBYYXQP2ZLdHxofdS+1N9npM370=; b=lDHiCJ0y2Y9N4TndleUJQWSbKdHcVhce0PWCN9uwNj0DOxsaAOmtyQtsHJrchPdLah 04OLIOf0dcfdRic2qgVtDpYboffjbo8gZli35D64Tbv7E89M/sgOz1l5JYTCAUGo0oSL qN+E0Ijxf4o8PxYS9OvFvIm7objA0Zy/sVlHrCzS/KXX1oI4LaUIAgUChi2RJtQhq3YR K9Hi37GQ+780I7BPbAsJzPwtMxDk6vPIFXF2h6q2Ubaq6iR4rqY9nWVNx6JpwfbjpCjc fA6Ryd+FryuCgkLWT6sD9b+cBcRj2tsbA3+HhsA4tcweor1ZDmaFvnIt2dQ2iqg4N0Of Ee/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QOEynRn2; 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 h27si5134451uac.203.2021.05.02.08.08.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 May 2021 08:08:58 -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=QOEynRn2; 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]:45132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldDiM-0007mn-0d for patch@linaro.org; Sun, 02 May 2021 11:08:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldDKn-0001Ym-5f for qemu-devel@nongnu.org; Sun, 02 May 2021 10:44:37 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:39554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldDKk-0005G2-UD for qemu-devel@nongnu.org; Sun, 02 May 2021 10:44:36 -0400 Received: by mail-pf1-x433.google.com with SMTP id c17so2399455pfn.6 for ; Sun, 02 May 2021 07:44:34 -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=UdUcyujGpauXTdAtiBYYXQP2ZLdHxofdS+1N9npM370=; b=QOEynRn24QF83HrLgPrblQWtp1aIE8IFDfbNp6SvYVNmywaU3d8NFxL25G7JeUNt8N CS72zFjmHZopOb8ffIkBpDJLN+JSarLpZvjg2SzGOwcVHfZnp/eh5ckNRTS4+B4kJrvc QimuzQsroH+OW+1s3gS6gdH6p7tzptEl6x/L9x91pmTZ0qOvKEeBykHswt8n62Owg/fe BIrqGz3YwETPiQ0VGpDrUEe/x9/SiDuWXCUXh3isPeXUK/+kjCYkW6cxvdlUkp9zpM7t K8eDBGzwQmXsQTjoYK/UfKMYw8ZPRmcIsaM4cdU/FiJBfdJImQhuXcbI/R8ekjsrtWhY A9uw== 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=UdUcyujGpauXTdAtiBYYXQP2ZLdHxofdS+1N9npM370=; b=TwsphOaekGTyKeAZcAD0HqczGBcVtcEdd4j2PQ+2awjLsEaLE0nBLLRSgQgqpIFxcd muI12QeXGMju2LOxndscoP7Ir2JWotAx8nJ2jxeTWtgI0q1T6O0+FHDJLzJ4F01AXcor ovbZhw3DpUzjd/dadldd4/StDA3OMNwCQcO8BRcVx4mIKraqD1qG5RklQ90P25HMksKI r8GGu1S+SkCNZcJCR46yhWDkoQY/tBWQdZrZpO2z3Cbesra9mAKcPKT2V9Es4xJvQJ3a I1s6cZ6tqvPk3fJ4a/Gwnvy84bEcd5qjahGyQnddAPyKNFE2sZ+37YZzBE9Vaar7Wmma ai2Q== X-Gm-Message-State: AOAM533p3a/F8BIzpNEftEZxrJ1qOTeok2fMRSj77aOCQ+0Z/jWES6mX xLW4cTNraT7Ep2v5gIp9E/wqj+zGtPvKRw== X-Received: by 2002:a62:25c4:0:b029:276:a40:5729 with SMTP id l187-20020a6225c40000b02902760a405729mr14476350pfl.80.1619966673629; Sun, 02 May 2021 07:44:33 -0700 (PDT) Received: from localhost.localdomain ([71.212.144.24]) by smtp.gmail.com with ESMTPSA id w14sm6889110pff.94.2021.05.02.07.44.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 May 2021 07:44:33 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 20/31] Hexagon (target/hexagon) move QEMU_GENERATE to only be on during macros.h Date: Sun, 2 May 2021 07:44:08 -0700 Message-Id: <20210502144419.1659844-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210502144419.1659844-1-richard.henderson@linaro.org> References: <20210502144419.1659844-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x433.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, Taylor Simpson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Taylor Simpson Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Taylor Simpson Reviewed-by: Richard Henderson Message-Id: <1617930474-31979-16-git-send-email-tsimpson@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/genptr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/target/hexagon/genptr.c b/target/hexagon/genptr.c index 6b74344795..b87e264ccf 100644 --- a/target/hexagon/genptr.c +++ b/target/hexagon/genptr.c @@ -15,7 +15,6 @@ * along with this program; if not, see . */ -#define QEMU_GENERATE #include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" @@ -24,7 +23,9 @@ #include "insn.h" #include "opcodes.h" #include "translate.h" +#define QEMU_GENERATE /* Used internally by macros.h */ #include "macros.h" +#undef QEMU_GENERATE #include "gen_tcg.h" static inline TCGv gen_read_preg(TCGv pred, uint8_t num)