This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: About Hazard Recognizer:DFA


daniel tian wrote:
Hi Dr. Uday Khedker:
   Happy New Year!
   I met hazard problem. And I have debuged  this error for  a few
days. I wrote DFA to avoid load hazard, but still it exists. I wonder
whether in default the command './cc1 hazard.c' doesn't compile the
file with DFA.

By default the scheduler is enabled starting at -O2, so this should at least be './cc1 -O2 hazard.c'. Of cause, you should also add generation of nops, as Vladimir said, either in machine dependent reorg or in assembler. Also, scheduler dumps may be helpful for you; they can be enabled via -fsched-verbose=N switch.


--
Maxim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]