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' RFA] mips "Branch Likely" handling behaviour, options.


> ===================================================================
> 2002-08-02  Chris Demetriou  <cgd@broadcom.com>
> 
> 	* config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
> 	in target_flags based on ISA, if it was not set on the command
> 	line.  Warn if MASK_BRANCHLIKLEY is set but the ISA does not
> 	support Branch Likely instructions.
> 	* config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
> 	(TARGET_BRANCHLIKELY): Likewise.
> 	(TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
> 	(GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
> 	ISA_HAS_BRANCHLIKELY.
> 	(ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
> 	* doc/invoke.texi: Document new MIPS -mbranch-likely and
> 	-mno-branch-likely options.
> 	

Looks good to me.

OK.

-eric

-- 
I don't want a pony, I want a rocket
powered jetpack!


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