public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* RTL Pattern not working
@ 2022-05-27  5:50 RICHU NORMAN
  0 siblings, 0 replies; only message in thread
From: RICHU NORMAN @ 2022-05-27  5:50 UTC (permalink / raw)
  To: gcc

In gcc/combine.cc


I have written a pattern to emit a complex rtl instruction which uses 'and'
'shift'  'lshiftrt' and 'or' in a single pattern.But pattern not recognised
as single pattern.I changed the cost of this instruction to 0.Still pattern
is not generated.
How can I check if the instruction works or not?
I have checked the output in files generated in fdump-rtl-all .
Wish to know how combiner.cc works.
dump_combine_total_stats (FILE *file)
{
  fprintf
    (file,
     "\n;; Combiner totals: %d attempts, %d substitutions (%d requiring new
space),\n;; %d successes.\n",
     total_attempts, total_merges, total_extras, total_successes);
}
In my case the pattern is not generated as well not compared .


-- 
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-27  5:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-27  5:50 RTL Pattern not working 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).