PATCH: Fix ll/sc for mips (take 3)
Hartvig Ekner
hartvige@mips.com
Sat Feb 2 12:49:00 GMT 2002
H . J . Lu writes:
> Does everyone agree with this? If yes, I can make a patch not to use
> branch likely. But on the other hand, "gcc -mips2" will generate code
> using branch likely. If branch likely doesn't buy you anything,
> shouldn't we change gcc not to generate branch likely instructions?
I would say it's still too early to actively remove them. There are many
processors out there (certainly in the embedded world most of them)
without branch prediction, and for all of those branch-likelys actually
help performance.
/Hartvig
More information about the Gcc
mailing list