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]

Re: multiply accumulate support for mips32 and mips64


I've gotten a bit behind on looking over the gcc-patches list, but i
noticed in your patch:

>   /* ISA has branch likely instructions (eg. mips2). */ 
> ! #define ISA_HAS_BRANCHLIKELY	(mips_isa != 1)

became:

>   /* ISA has branch likely instructions (eg. mips2). */ 
> ! #define ISA_HAS_BRANCHLIKELY	(mips_isa >= 1 && mips_isa < MIPS64)


i believe you want ">= 2" in the new definition of ISA_HAS_BRANCHLIKELY.

(or, heck, != 1 would still work.)



chris


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