From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by sourceware.org (Postfix) with ESMTPS id 7CB2D3856247 for ; Tue, 10 May 2022 13:24:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7CB2D3856247 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cusat.ac.in Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cusat.ac.in Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-2f7bb893309so179205547b3.12 for ; Tue, 10 May 2022 06:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cusat-ac-in.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5w33duFE1C3/K3mO7ExUIxqcDdgHxBnLlMl5w9zZTyc=; b=VGK+ZfIZQIVMjEcfsM+oxaXnej7WWaaxoxC9G1o/YDcANzHkb9jTFcAShgikAKzBwN MK/ATlF6n+OSyYMxO738jTABbgn2SSJXFa1fEQHdYiLXkSZyIMU5p3r/bEvobmRYRMu+ m9K7G0AxenLu+9ZEIZp78qfQ+Bl0pArIf3PBPwoysy32OBTMJUCFQm9U6KCV0P5ofSj+ QLIpHpOfsGMzQ72HYKT6B7vm4GaMVDeKESIdy2fcxsq+J2vMMllo8DApKM75od9tpf5T EuWh+OJMW1oXfrJINri0z+HSSHXrtSPxexXegG+R7hauaM3AYlcsJr9gjL2FJ1Nq8BWx TfNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5w33duFE1C3/K3mO7ExUIxqcDdgHxBnLlMl5w9zZTyc=; b=4xsodpTOjnRCGDKvkmi1NTV1ZC5fC1EXc4lVmUVDbbok1fjmGUqjv1z5IcT3DIWWBw ntgX3XmqZKBgtFq7/yoKJTtlyG5S/beeWDzng6AHGSLKITVGp8Kay2lELeEArAH11yxG fmNCt3flSkGZXY1/h2fMY93C8tnYVjtptPgemvXLbMkkPIJRBWNS9/dtuPL34DqJE/fA yiMRPyxaHzGONkgpOQGddBVtAiRLamx+YUX2WOLKh46vtuP8eu7GjJv4ka09qkuFrU5w 3N/GSTjpQOLUOqNFAEw7FIhEe9nmOEQS0W5nh1X5YNHXgtajX93cmN722eWvMD2eQCdp N4sA== X-Gm-Message-State: AOAM5335o6gQyrSBnPpSvgAR3X4yQBxVnnhsSLDqVUa6gzrMZRRmWtB7 iAZhTVKZmfWoHJ8iylHbR6/lokr207dE1SjSv8/KFj4XVkflBNPvmNk5XOx1fxZThCeWwSXHsUO Ht5pxsKxi4zBvC5YYoL64ToyPtdDT X-Google-Smtp-Source: ABdhPJyS2MRaVUmWodee5bsL5oQsXYBVKS6GU4Dc0YHIC6TdcruA24q8nW2i0LZczjoVx2lWxbF9kqnNAZFVVvTbcqU= X-Received: by 2002:a81:6cc3:0:b0:2f7:cc1f:b52d with SMTP id h186-20020a816cc3000000b002f7cc1fb52dmr19648265ywc.293.1652189071881; Tue, 10 May 2022 06:24:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: RICHU NORMAN Date: Tue, 10 May 2022 18:54:19 +0530 Message-ID: Subject: Re: How target.md file with target.c/.cc file invoke assembly instructions To: Jonathan Wakely Cc: gcc-help X-Spam-Status: No, score=3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, KAM_SHORT, MEDICAL_SUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2022 13:24:36 -0000 Thanks, I'll check it out. On Tue, May 10, 2022, 4:27 PM Jonathan Wakely wrote: > On Tue, 10 May 2022 at 11:51, RICHU NORMAN wrote: > > > > Hi, > > I am new in gcc development and I am focusing on cross-compilers.I have > > added a few instructions for the target machine and invoked it using > asm() > > from c program.Now I want to add those instructions to gcc and define > that > > instruction in target.md file.I have a few queries regarding the working > of > > gcc. > > 1. Do *target.md* files along with* target.cc/.c > *files > > help to invoke assembly instructions automatically? > > 2.What is the input for this ?(.Gimple or .cfg files) > > 3.How does it work internally? > > 4.I have defined an instruction in target.md alone.But that does not > > work.How to make it work? > > 5.Which file to be examined in rtl-dump of object file for getting the > > input and output to this stage in gcc? > > This is the wrong mailing list for questions about GCC development: > > https://gcc.gnu.org/lists.html >