public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* How can I add comments to files generated in rtl dump?
@ 2022-05-18 10:23 RICHU NORMAN
  0 siblings, 0 replies; only message in thread
From: RICHU NORMAN @ 2022-05-18 10:23 UTC (permalink / raw)
  To: gcc

Hi,
I have added the new instruction in opcode and invoked it using
asm_volatile .The new instruction is generated in the object dump.
Now I  wrote an RTL template for the same instruction in a .md file and
some cost value calculation in cfile.Then I run the sample c code that
invokes the instruction defined in .md file.
I examined the files generated in -fdump-rtl-all. But the added instruction
is not generated .
*How can I add comments to files generated in rtl dump?*
 I have added fprintf (dump_file, "Test hello world\n"); to *gcc/cfgrtl.cc *and
observed *.expand file .But I could not find the test word in that file .

-- 
Richu Norman
Research Scholar
Department of Computer Science
Cochin University of Science and Technology
Ph : (+91)-8848455627

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-18 10:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 10:23 How can I add comments to files generated in rtl dump? RICHU NORMAN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).