From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id AC5EF3968C0F for ; Wed, 14 Apr 2021 17:31:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AC5EF3968C0F Received: by mail-pf1-x431.google.com with SMTP id w8so10744644pfn.9 for ; Wed, 14 Apr 2021 10:31:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=URXADMqv8eSG1a3vt68v9x5JjCt6BSOB5FhFEWZG4w0=; b=K+8Br28+zFky+QHBcnavUG4g3uNZYmEz6I+/LBa7pVEm1VxkPVj6W+KWhucecnXpXc 8z2haNKC5ygrOiby30j9txZaZebcSAf9DZ6trkscKX0/jICgCBHwsIJhdPhV/S0cKtx5 tJ4TNmodaGCBSGNQkk0/SnYDgzziK6HVYH7TUhYsa6iJRwIQHX0DtOapx0uKfbXpX4xy P53NyzUbBfRDYTt2RBHQMxmQkRdW7Qwgpa9/wkLBF4N/Ff6jJXpXpRxwtNUcIuNnzKzJ ecaDHykLLY7kT98oFTA96Ybt4h4n0r4geC3UyxdvXvTjHyvt3jIaTnPFjUnW3K0ZBDct wiJw== X-Gm-Message-State: AOAM533sxDdQXO6KBi8/WVN8gcBdPJd3hpXI6pB5lUx4R3NqKwaBHL3v SDqWZHMulNWmSnF11LFG/YpP0ICcqFZPi5wTMK8org== X-Google-Smtp-Source: ABdhPJwIKhRLPYMUjN9wca7nfdZVyu926R2OwpgOWN8hxqHLvvRq6zah9xfIbNFTAgxaYM5XJh+u5gbMpm2PBnP66kk= X-Received: by 2002:a62:e717:0:b029:253:66da:24ed with SMTP id s23-20020a62e7170000b029025366da24edmr3729150pfh.24.1618421518222; Wed, 14 Apr 2021 10:31:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Prathamesh Kulkarni Date: Wed, 14 Apr 2021 23:01:21 +0530 Message-ID: Subject: Re: My 2nd attempt to devel for gcc To: Joseph Myers Cc: pawel.kunio@gmail.com, GCC Development Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2021 17:32:01 -0000 On Wed, 14 Apr 2021 at 22:54, Joseph Myers wrote: > > On Wed, 14 Apr 2021, pawel k. via Gcc wrote: > > > My best guess is if we could hookify all target code everything callable > > either from frontends or midend, we could try to severly cut this estimate. > > That's a 700-patch series (there are about 700 target macros). For every > target macro, it's necessary to work out the corresponding target hook > interface, which shouldn't always correspond one-to-one to the macro > interface (and hooks have well-defined argument types, which macros don't > always), and deal with the conversion, covering all the irregular ways in > which different targets define the macros (including e.g. cases where some > architectures define a target macro differently for different target > OSes). Joseph has articulately summarized the process in this thread on target macro conversion: https://gcc.gnu.org/pipermail/gcc/2015-February/216586.html Thanks, Prathamesh > > -- > Joseph S. Myers > joseph@codesourcery.com