This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH' RFA] mips "Branch Likely" handling behaviour, options.
- From: Eric Christopher <echristo at redhat dot com>
- To: cgd at broadcom dot com
- Cc: gcc-patches at gcc dot gnu dot org, rsandifo at redhat dot com, mdb at gnu dot org, rth at redhat dot com
- Date: 06 Aug 2002 18:50:55 -0700
- Subject: Re: [PATCH' RFA] mips "Branch Likely" handling behaviour, options.
- References: <yov5ofck5syw.fsf_-_@broadcom.com>
> ===================================================================
> 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!