From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130488 invoked by alias); 17 Jun 2019 22:01:55 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 130479 invoked by uid 89); 17 Jun 2019 22:01:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=D*mail.ru, hill, HX-Languages-Length:977, thousand X-HELO: mail-ua1-f45.google.com Received: from mail-ua1-f45.google.com (HELO mail-ua1-f45.google.com) (209.85.222.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Jun 2019 22:01:53 +0000 Received: by mail-ua1-f45.google.com with SMTP id o19so4078908uap.13 for ; Mon, 17 Jun 2019 15:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3owCvxB3kq5E6tFvuWzXzZOnHJjSSQ4j3Moql1vpM8M=; b=eDngy2Gi0rN4jRBEDYV7mwDPjLFsiPm2ISnBipSB+chf1zgBKv6KrICodu8KQjefQK apIsmhPoUSgsds6+qQvBNXKHFB23F2889UQ7hDE5cMFXsat9auZbL5u94HXjrSW9P9Aq /M7/cf2sLcM6InZun5iGMsDWoDRL5c/X9psDRaB/5K0nVUnWlBSTo7DMQVYQ7gmA8n+m BPH4/Nuj/VM4t/BY+pNlNKZLS5cZAWwfyYgDiLJTKoRGmAjvjyP0C2h+ZvPjH4OJybtb nxWZ+TN2HEHlIgs+H5mZ7Ajetxkp5Bf/7VOLF/D0cex9WevrWJ9E8diOcaY2TOZnCY7e NKYw== MIME-Version: 1.0 References: <1559882546.372025449@f463.i.mail.ru> <1560241952.787714775@f374.i.mail.ru> <1560771244.563541252@f420.i.mail.ru> In-Reply-To: <1560771244.563541252@f420.i.mail.ru> From: Jim Wilson Date: Mon, 17 Jun 2019 22:01:00 -0000 Message-ID: Subject: Re: Re[6]: GCC won`t emit my instriction To: Alex Hill Cc: Segher Boessenkool , gcc-help Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00054.txt.bz2 On Mon, Jun 17, 2019 at 4:34 AM Alex Hill wrote: > I`m still looking for the way to emit minmax, now i`m try to find solution in > ifcvt.c, is there exist a way to dump conditional execution step by step, > > I read more than thousand pages from documents from gnu.gcc.org, try to find in internet but i can`t find how to dump > every step of rtl passes, for example 243.r.ce1, there is only general info in dumps receivced by fdump-rtl-all. > In 243.r.ce1 just told "df_analyze called" and nothing else. You can append a -all to get more info, e.g. -fdump-rtl-ce1-all will emit more info than -fdump-rtl-ce1. This will only emit info where the optimization pass has hooks to dump debugging info. If you need more info than that, you should be stepping through the code in gdb We have gdb macros in the .gdbinit file that you can use to pretty print rtl, etc. The pr macro will pretty print an rtl pointer. Jim