Handling labels in delay-slot scheduling
Joern Rennecke
amylaar@spamcop.net
Fri Nov 19 07:10:00 GMT 2010
Quoting Tom de Vries <vries@codesourcery.com>:
> About the penalty, I don't really know. But since the optimization is
> both filling delay slots and removing
> duplicate code, it looks like a good idea to me.
It's usually beneficial, but for some microarchitectures, this kind of
code confuses the branch predictor.
So there should be a way for the port to turn this off.
More information about the Gcc
mailing list