This is the mail archive of the gcc-patches@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] new cpu sr71k


On Fri, 2002-09-13 at 10:26, cgd@broadcom.com wrote:
> So, e-mail from somebody gave me some cause to look further at this
> patch:
> 
> At Fri, 16 Aug 2002 07:37:13 +0000 (UTC), "Eric Christopher" wrote:
> > -#define GENERATE_BRANCHLIKELY   (TARGET_BRANCHLIKELY && !TARGET_MIPS16)
> > +#define GENERATE_BRANCHLIKELY   (TARGET_BRANCHLIKELY                    \
> > +				 && !TARGET_SR71K                       \
> > +				 && !TARGET_MIPS16)
> 
> I don't understand why that's the right thing.
> 
> If SR71K doesn't support branch-likely instructions at all or they are
> buggy on that processor, a conditional should be added
> ISA_HAS_BRANCHLIKELY.
> 
> 
> (It occurs to me that I should add TUNE_SB1 into the code in mips.c,
> to express a preference regardless of ISA_*.)
> 
> 
> thoughts?

Yes yes... :) It was part of an old patch that I forgot to switch
over...

-eric
 
-- 
Yuppies wear socks.


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