DONT_BREAK_DEPENDENCIES bitmask for scheduling

Paulo Matos pmatos@broadcom.com
Mon Jul 1 16:31:00 GMT 2013


Hi,

Near the start of schedule_block, find_modifiable_mems is called if DONT_BREAK_DEPENDENCIES is not enabled for this scheduling pass. It seems on c6x backend currently uses this.
However, it's quite strange that this is not a requirement for all backends since find_modifiable_mems, moves all my dependencies in SD_LIST_HARD_BACK to SD_LIST_SPEC_BACK even though I don't have DO_SPECULATION enabled.

Since dependencies are accessed later on from try_ready (for example), I would have thought that it would be always good not to call find_modifiable_mems,  given that it seems to 'literally' break dependencies.

Is the behaviour of find_modifiable_mems a bug or somehow expected?

Cheers,

Paulo Matos




More information about the Gcc mailing list