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: PATCH: Fix ll/sc for mips (take 3)


> 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.


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