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

Reply via email to