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

Reply via email to