From patchwork Wed Aug 18 21:28:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 499007 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp1053685jab; Wed, 18 Aug 2021 14:30:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyy1NK01Mtg45VKzVfD3m73WUbiBdhafmgoVBraq4xTqBXDaxQfOJsZI6Txkx4zUYM6ADwW X-Received: by 2002:a05:6214:4009:: with SMTP id kd9mr11084012qvb.40.1629322211012; Wed, 18 Aug 2021 14:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629322211; cv=none; d=google.com; s=arc-20160816; b=NqvY2h9TJUEwZ/fso5lL7Yo+9KeVdsRpuywzrR5In8zjSe8Ij93mldozswB/EnfPxr MN/twhTutequH7AFqlqZN6rptGPqSGK7wJJ7lAWkdMZftZ7YFNZJAqmfgbREqtxqpxWp AvPhI6uykgLxIY6rP+G2obdPAzoQMEoAlETK0UPsCPd5StMTnEAH3nz7lC9jL+vFsG8G jpzklGat7NgylswzThoAjjcjdyGDgkzEnW+pUfDYqpOOs6tuAZ9QkDOhgwyHpa68L4i3 vjHdxEdb/JkFUcZ7tqwmPLP8Y6FlTlKulNYMQavT7zx3O0esuZ3gSQN83RpbCjYR0+cP 2g5Q== 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:to:from :dkim-signature; bh=kt/mDazQAKYKsXxjbdT0yp22oT0Ru63VroJp5mmRuZU=; b=rDXwLWRzs6ARpAEZc95rEN0A3A6MddmKre752NxRuErJAdB1M51m940eSXEqOaD1kC MGSHboZXKAAIX9LC9KBOotnF6T7WYD/IPKVDbDm9gMlM/GLSmdtImNsAxmeLEaCwSgMJ boadHugmM2cMlmzEF7kJjXKAiCxB1e+8nH37yjouVVHfkEEA/f4A6Yzo+EjD1TMA4Yys aZRWZPOk3x2HbpFqObaJ5pbctBcjWOYm8qTfrEK3WGpJ14RLlBl2nbEv5WoA8NJ6hT72 pAvYHGeyMzUB8poAzrgUef4h21alRdSTOAV4H/yHVehRgzSAvTt5fM9vFK9bn4+UrcwD 4Fpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F7lCMpxu; 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 y8si694205qkp.220.2021.08.18.14.30.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Aug 2021 14:30:11 -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=F7lCMpxu; 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]:41138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGT8U-0005lk-Ao for patch@linaro.org; Wed, 18 Aug 2021 17:30:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGT7e-0005lD-Li for qemu-devel@nongnu.org; Wed, 18 Aug 2021 17:29:18 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:38773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGT7d-0005gq-6y for qemu-devel@nongnu.org; Wed, 18 Aug 2021 17:29:18 -0400 Received: by mail-pg1-x529.google.com with SMTP id w8so3707432pgf.5 for ; Wed, 18 Aug 2021 14:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=kt/mDazQAKYKsXxjbdT0yp22oT0Ru63VroJp5mmRuZU=; b=F7lCMpxuZQGAdUkgnxUhEvAKaKKBFpsMY7hUsBZyh8z0l/KpLcrQ25ohULxuW8CVoU dWguFkovqPDysBBmPI5nQsMP6fBFsTbgOHY2J02IWfohdQWB7DvYQvNXG2bBarfiwnRB DIe888AIkLj+qJvpAurmeTVzia3Wh45+iKAqgwbS+qa1np7tm/TghA5qEyFjb/F8NXIZ zd7ltdB9KplwHlFEjQQNI7cOknt8jTCHIvUh2Qwn9Ib5H8Z7/SEcA3t5DevVI34LX2MX gQkVnX4deuWTb42Okj50SFKKSc+7KEP1FTRgM+5isrYUlvURp7eVxWDoBb+8I43YFL9s lI+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kt/mDazQAKYKsXxjbdT0yp22oT0Ru63VroJp5mmRuZU=; b=YgYUdGVWwCNuxfjLBWt0JjJDm4xU4OR9AHmBni0fIdOf5itzFDWjETnJoq/47Grikh Z54i0WAxcwZ0yByq8NsKyUq7229PgDnOFeWDK+enPOjHCP/IdSkqf24eLZQRPVpKGCUh DAuOIPCzzoRBSWh4OxQiv8M7Mx1Owy1q6F5zVhMDQuvWUO+Xc00XiQqXXI7i/Jbyyy28 LG0y3y8hSqpscpXlM4TF4J3kz0dyJ0Md21onF4IWEUdOTFzezBIxiFGSzIG1392YyIOn 9SI1kC/KMNwEtUzN9A5VMJyw+k0dP0hpY/ySPGDxS/AF7q/aTqIOV4BCQ/durQezER4p W0Eg== X-Gm-Message-State: AOAM531aubQMttlPWrlgYRMmM224aQJqBZIIYPJwyQxfBpLins0CF/Bs nKlBxo+FABr7l7JbitbNtef5hmrL3P37YQ== X-Received: by 2002:a65:68d1:: with SMTP id k17mr11078434pgt.285.1629322155508; Wed, 18 Aug 2021 14:29:15 -0700 (PDT) Received: from localhost.localdomain ([173.197.107.15]) by smtp.gmail.com with ESMTPSA id y19sm751965pfe.71.2021.08.18.14.29.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 14:29:15 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 01/14] tcg/arm: Remove fallback definition of __ARM_ARCH Date: Wed, 18 Aug 2021 11:28:59 -1000 Message-Id: <20210818212912.396794-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210818212912.396794-1-richard.henderson@linaro.org> References: <20210818212912.396794-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x529.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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" GCC since 4.8 provides the definition and we now require 7.5. Signed-off-by: Richard Henderson --- tcg/arm/tcg-target.h | 19 ------------------- 1 file changed, 19 deletions(-) -- 2.25.1 Reviewed-by: Peter Maydell diff --git a/tcg/arm/tcg-target.h b/tcg/arm/tcg-target.h index d113b7f8db..18bb16c784 100644 --- a/tcg/arm/tcg-target.h +++ b/tcg/arm/tcg-target.h @@ -26,25 +26,6 @@ #ifndef ARM_TCG_TARGET_H #define ARM_TCG_TARGET_H -/* The __ARM_ARCH define is provided by gcc 4.8. Construct it otherwise. */ -#ifndef __ARM_ARCH -# if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) \ - || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) \ - || defined(__ARM_ARCH_7EM__) -# define __ARM_ARCH 7 -# elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \ - || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) \ - || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) -# define __ARM_ARCH 6 -# elif defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5E__) \ - || defined(__ARM_ARCH_5T__) || defined(__ARM_ARCH_5TE__) \ - || defined(__ARM_ARCH_5TEJ__) -# define __ARM_ARCH 5 -# else -# define __ARM_ARCH 4 -# endif -#endif - extern int arm_arch; #if defined(__ARM_ARCH_5T__) \