PATCH: Fix ll/sc for mips (take 3)
Eric Christopher
echristo@redhat.com
Mon Feb 4 11:00:00 GMT 2002
> FYI, somebody, i think it was Mike Stump, submitted a patch to add a
> flag to disable branch-likely instructions N months ago. It was
> discussed a little bit, not AFAIK nothing was ever done with it.
>
> Anyway, from where I sit, this should be resolved like:
>
> * -mips1 - -mips5 should generate them by default (for
> strongly-predicted branches), -mips32 & -mips64 should not. (modify
> that for your favorite flag names, -march or whatever. 8-)
>
> * There should be flags to override the defaults either way, so you
> could say -mips2 -mno-branch-likely, or -mips32 -mbranch-likely.
I'm inclined to agree with you. Anyhow, I'm not sure who submitted a
patch, but I can easily put one in sometime in the next day or two.
-eric
--
I will not use abbrev.
More information about the Gcc
mailing list